Expand description
ctx_tools business logic (#210): the MCP Tool-Catalog meta-tool.
Keeps the registered wrapper thin: this module owns config gating, action
routing, and driving the async mcp_catalog from the synchronous tool
handler. The MCP dispatch layer wraps handlers in block_in_place, so an ambient
runtime handle is available there. The CLI call path has no ambient
runtime, so run falls back to building its own current_thread runtime
(see Rt) instead of panicking on Handle::current().
Functionsยง
- run
- Execute a
ctx_toolsaction, returning response text or an error message.