Skip to content
Documentation

Reference

ctx_repomap

Input contract and parameters for ctx_repomap.

Status by featureReviewed September 2026

MCP tool · Search & code intelligence

Call this tool through your MCP client. Its availability depends on your active configuration and profile.

This registry contract is separate from the SDK. For terminal commands, use the CLI reference.

Parameters

Generated from the registered input schema. “Required” reflects the schema; individual actions can impose additional requirements.

focus_filesarray

Boost ranking for relative paths

max_tokensinteger

Token budget

Schema default: 2048

pathstring

Project root

Exact JSON schema

Inspect the complete input schema
{
  "properties": {
    "focus_files": {
      "description": "Boost ranking for relative paths",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "max_tokens": {
      "default": 2048,
      "description": "Token budget",
      "type": "integer"
    },
    "path": {
      "description": "Project root",
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}

Runtime description

The following is the tool's own agent-facing description, reproduced from the reviewed registry. It can contain implementation terminology; it does not expand the public stability commitment.

Read the agent-facing description
PageRank symbol map ranked by structural importance + session relevance.
WORKFLOW: call for codebase-wide orientation at session start.
ANTIPATTERN: not for task-scoped views — use ctx_overview instead.
focus_files=['path/*.rs'] boosts specific areas; max_tokens controls size
(default 2048). Saves tokens vs reading all files individually.
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