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.

Search for tools. Describe what you want to do and get back only the relevant tools. By default (hybrid_search) the semantic (HNSW) and lexical signals are fused with Reciprocal Rank Fusion, and an exact tool-name paste (exact_name_boost) ranks #1. 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
)
Parameter Required Description
intent yes Natural language description of your task
top_k no Maximum results to return (1-10, default 5)
category no Filter by category (file, git, database, ai, search, analysis, etc.)
server no Filter by server (bridge, doc, comfy, video, chat)
min_confidence no Minimum similarity score (0-1, default 0.3)
include_chains no Also search for matching workflows (default true)

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

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

Parameter Required Description
tool_name yes Fully qualified tool name (e.g., comfy:comfy_generate)

Returns the tool’s complete inputSchema — required fields, per-parameter descriptions, enums, and defaults — alongside the collapsed parameters view and a hint for next steps, so you can build a correct execute() call in one hop.

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

Parameter Required Description
tool_name yes Tool to execute (e.g., bridge:read_file)
arguments no Arguments 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, chain info, and the analytics degraded flag.

Parameter Required Description
active no When true, runs a live per-backend liveness probe (catches hung-but-connected backends). Default false (passive counters only).

Usage statistics, accuracy metrics, and performance data.

Parameter Required Description
timeframe no Time window (1h, 24h, 7d, 30d, default 24h)
include_failures no Include 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.

Parameter Required Description
action no list (default), create, or detect
chain_name for create Name for the new chain
tools for create Ordered list of tool names
description no Description for the new chain

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

Parameter Required Description
force no Force full rebuild even if no changes detected (default false)

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

Parameter Required Description
include_tools no Include full list of all indexed tools (default false)
timeframe no Timeframe for analytics (1h, 24h, 7d, 30d, default 24h)