Skip to main content

register_discovery_tools

Function register_discovery_tools 

Source
pub fn register_discovery_tools(
    registry: &mut ToolRegistry,
) -> Result<(), ErrorObject>
Expand description

Register the read-only discovery tools (list_tools, describe_tool, current_policy).

Ordering matters: discovery tools capture a snapshot of the registry’s current capabilities. Always call this after every other capability has been registered, otherwise the resulting list_tools() / describe_tool() output will not include capabilities registered later.