Skip to content
Documentation

Reference

MCP tool reference.

Find the right operation, inspect its inputs and follow the exact contract.

Status by featureReviewed September 2026

The reviewed registry contains 78 granular tool definitions and 5 unified entry points. Your MCP client may advertise a smaller set based on its profile, categories and host support.

This catalog is generated from source revision 50fbff09c9. Registration does not by itself establish a stable SDK interface or product availability. See feature status.

Read, search & shell

Files, command output, source retrieval and tool connections.

Search & code intelligence

Structural views, symbols, dependencies and change analysis.

Knowledge tools

Store, retrieve and maintain selected project knowledge.

Session state

Record progress, inspect caches and resume retained context.

Planning tools

Prepare context under a budget and manage local context operations.

Analysis tools

Inspect output, measurements and local evidence.

Unified entry points

Some integrations expose a smaller discovery/call surface. These schemas come from the same source manifest.

ctx

Meta-tool: set tool= to sub-tool name. Sub-tools: compress (checkpoint), metrics (stats), analyze (entropy), cache (status|clear|invalidate), discover (missed patterns), smart_read (auto-mode), delta (incremental diff), dedup (cross-file), fill (budget-aware batch read), intent (auto-read by task), response (compress LLM text), context (session state), graph (build|related|symbol|impact|status), session (load|save|finding|decision|status|reset|list|cleanup), knowledge (remember|recall|pattern|consolidate|timeline|rooms|search|wakeup|status|remove|export|embeddings_status|embeddings_reset|embeddings_reindex), wrapped (savings report), benchmark (file|project), multi_read (batch), semantic_search (BM25), cost (attribution), heatmap (file access), impact (graph impact), architecture (graph structure), expand (retrieve archived output).

{
  "properties": {
    "action": {
      "type": "string"
    },
    "agent_id": {
      "type": "string"
    },
    "agent_type": {
      "type": "string"
    },
    "budget": {
      "type": "integer"
    },
    "category": {
      "type": "string"
    },
    "confidence": {
      "type": "number"
    },
    "depth": {
      "type": "integer"
    },
    "description": {
      "type": "string"
    },
    "examples": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "format": {
      "type": "string"
    },
    "include_signatures": {
      "type": "boolean"
    },
    "key": {
      "type": "string"
    },
    "limit": {
      "type": "integer"
    },
    "message": {
      "type": "string"
    },
    "mode": {
      "type": "string"
    },
    "path": {
      "type": "string"
    },
    "paths": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "pattern_type": {
      "type": "string"
    },
    "period": {
      "type": "string"
    },
    "project_root": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "role": {
      "type": "string"
    },
    "root": {
      "type": "string"
    },
    "session_id": {
      "type": "string"
    },
    "show_hidden": {
      "type": "boolean"
    },
    "spec": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "task": {
      "type": "string"
    },
    "task_id": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "to_agent": {
      "type": "string"
    },
    "tool": {
      "description": "compress|metrics|analyze|cache|discover|smart_read|delta|dedup|fill|intent|response|context|graph|session|knowledge|overview|wrapped|benchmark|multi_read|semantic_search|cost|heatmap|impact|architecture|expand",
      "type": "string"
    },
    "value": {
      "type": "string"
    }
  },
  "required": [
    "tool"
  ],
  "type": "object"
}
ctx_read

Read file (replaces native Read). Cached, re-reads ~13 tok. Omit mode to auto-select; full only right before editing. Modes: auto|full|map|signatures|diff|aggressive|entropy|task|reference|lines:N-M. fresh=true re-reads.

{
  "properties": {
    "fresh": {
      "type": "boolean"
    },
    "limit": {
      "description": "Max number of lines to read from start_line/offset",
      "type": "integer"
    },
    "mode": {
      "default": "auto",
      "type": "string"
    },
    "offset": {
      "description": "Alias for start_line (1-based first line)",
      "type": "integer"
    },
    "path": {
      "description": "File path",
      "type": "string"
    },
    "raw": {
      "description": "Exact bytes, unframed — skips compression (verbatim escape hatch)",
      "type": "boolean"
    },
    "start_line": {
      "description": "Read from this 1-based line on (alias: offset)",
      "type": "integer"
    }
  },
  "required": [
    "path"
  ],
  "type": "object"
}
ctx_search

Search code (replaces native Grep/rg) — use when you know the exact pattern. Regex, .gitignore aware, token-efficient. For understanding code, use ctx_compose FIRST.

{
  "properties": {
    "ext": {
      "description": "Deprecated alias for `include` (bare extension → *.ext)",
      "type": "string"
    },
    "ignore_gitignore": {
      "type": "boolean"
    },
    "include": {
      "description": "File filter glob (e.g. *.ts, *.{rs,ts}, src/**/*.tsx)",
      "type": "string"
    },
    "max_results": {
      "type": "integer"
    },
    "path": {
      "type": "string"
    },
    "pattern": {
      "description": "Regex pattern",
      "type": "string"
    }
  },
  "required": [
    "pattern"
  ],
  "type": "object"
}
ctx_shell

Run shell (replaces native Shell). Compressed output (~95 patterns). raw=true for verbatim. cwd sets working dir (default: project root).

{
  "properties": {
    "command": {
      "description": "Shell command",
      "type": "string"
    },
    "cwd": {
      "description": "Working directory (defaults to last cd or project root)",
      "type": "string"
    },
    "raw": {
      "description": "Skip compression for full output",
      "type": "boolean"
    }
  },
  "required": [
    "command"
  ],
  "type": "object"
}
ctx_tree

Directory tree (replaces ls/find) — compact maps with file counts per directory. depth=N (default 3); paths for multi-root. Use for orientation before ctx_repomap or ctx_compose.

{
  "properties": {
    "depth": {
      "type": "integer"
    },
    "path": {
      "type": "string"
    },
    "show_hidden": {
      "type": "boolean"
    }
  },
  "required": [],
  "type": "object"
}

Older tool names

Use ctx_read for auto-selected or batched reads. Use ctx_search with action: "semantic" or action: "symbol" for the corresponding search paths. The older standalone names remain compatibility aliases in the reviewed runtime.

Sources & versions3 references Reviewed
  • mcp_manifest.rsrust/src/core/mcp_manifest.rsReviewed checkout
  • registry.rsrust/src/server/registry.rsReviewed checkout
  • dynamic_tools.rsrust/src/server/dynamic_tools.rsReviewed checkout
Core checkout
50fbff09c9
Installed runtime
3.10.2
SDK release
1.1.0

Separate baselines for source, CLI/configuration and SDK contracts. Review does not certify every platform or integration.

Versions & compatibility