Skip to content

Tools

Every handler here also returns a trace_id (8-char hex) in its success and error envelopes. Use it in bug reports — the same id appears in the gateway log lines for that request. See the Operations page for more.

Semantic search for tools. Describe what you want to do and get back only the relevant tools. Also searches for matching tool chains (workflows).

compass(
intent="I need to generate an AI image from a text description",
top_k=3,
category=None,
server=None,
min_confidence=0.3,
include_chains=True
)
ParameterRequiredDescription
intentyesNatural language description of your task
top_knoMaximum results to return (1-10, default 5)
categorynoFilter by category (file, git, database, ai, search, analysis, etc.)
servernoFilter by server (bridge, doc, comfy, video, chat)
min_confidencenoMinimum similarity score (0-1, default 0.3)
include_chainsnoAlso search for matching workflows (default true)

Returns matched tools with confidence scores, token savings, hints, and any matching chains.

Get the full JSON schema for a specific tool before calling it. This is the second step in the progressive disclosure flow.

ParameterRequiredDescription
tool_nameyesFully qualified tool name (e.g., comfy:comfy_generate)

Returns full tool schema including parameters, types, examples, and a hint for next steps.

Run any indexed tool directly through the gateway. This proxies the call to the appropriate MCP backend server.

ParameterRequiredDescription
tool_nameyesTool to execute (e.g., bridge:read_file)
argumentsnoArguments to pass to the tool as a dictionary

List all tool categories and connected MCP servers. Use this to understand what kinds of tools are available before searching. Takes no arguments.

System health and configuration overview. Returns index stats, backend connection status, hot cache status, sync status, and chain info. Takes no arguments.

Usage statistics, accuracy metrics, and performance data.

ParameterRequiredDescription
timeframenoTime window (1h, 24h, 7d, 30d, default 24h)
include_failuresnoInclude details about failed tool calls (default true)

Returns search stats, top tools, success rates, failure details, chain stats, and hot cache info.

Discover and manage common multi-tool workflows. Chains are auto-detected from usage patterns or manually defined.

ParameterRequiredDescription
actionnolist (default), create, or detect
chain_namefor createName for the new chain
toolsfor createOrdered list of tool names
descriptionnoDescription for the new chain

Rebuild the HNSW search index from connected backends. Normally sync happens automatically on startup.

ParameterRequiredDescription
forcenoForce full rebuild even if no changes detected (default false)

Comprehensive system diagnostic covering index integrity, backend health, hot cache, chains, analytics, and configuration.

ParameterRequiredDescription
include_toolsnoInclude full list of all indexed tools (default false)
timeframenoTimeframe for analytics (1h, 24h, 7d, 30d, default 24h)