Skip to main content

Module ctx_tools

Module ctx_tools 

Source
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. Every action runs on the gateway’s process-lifetime runtime (mcp_catalog::runtime), from the MCP dispatch path and the CLI call path alike, so the downstream sessions the pool keeps stay alive between calls (#2040).

Functions§

run
Execute a ctx_tools action, returning response text or an error message.