Skip to main content

Module tool_search_catalog

Module tool_search_catalog 

Source
Expand description

Provider-safe searchable tool catalog (roadmap phase 79, Task 2).

Builds a deterministic, redacted catalog from the tool specs assembled for a turn (registered tools, MCP tools, skill tools, and lazy discovery items are all materialized as ToolSpec by the time a turn request is mapped). Catalog payloads are what may leave the process for provider-native tool search and for the client-executed search flow — execution stays authoritative in Roder: a selected catalog item resolves back to the canonical tool name and flows through TurnToolExecutor, permission checks, hooks, and policy mode like any other tool call.

Structs§

ToolCatalogItem
ToolSearchCatalog
Deterministic, redacted, size-bounded tool catalog for one turn.

Enums§

ToolCatalogSource
Catalog source classification, derived from canonical naming conventions (mcp__server__tool, skill: ids).