Describe the repository
describe_repoRead-only repository description; never samples or writes project files.
Instructions
Read-only repository description; never samples or writes project files.
Returns a cached summary preview or a deterministic context bundle and
needs_summary for the calling model. Persistence is a separate explicit
write_repo_summary call, which refuses the running installation/source root.
For those protected roots the instruction directs the caller to keep the
overview in its answer or use a separate worktree instead of writing here.
Returns JSON whose fields depend on status:
up-to-date: {status, path, hash, word_count, in_word_budget, summary_preview}
needs_summary (refresh required; nothing written):
{status, workspace_id, repo_hash, repo_path, prompt, instruction}
error: {status, error}; over stdio a workspace error adds pid, workspace_inputs
and, from a server the Claude desktop app started, hint; a workspace outside
the registered root adds code=workspace_mismatch, registered_workspace,
requested_workspace and remedy, and describes nothing
Follow instruction before persisting. When a write is allowed, pass
workspace_id, repo_path and repo_hash unchanged to write_repo_summary.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "describe_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No | Optional directory within the caller workspace; defaults to the workspace. | |
| workspace | No | Absolute path of your working directory, the project this session works in. Pass it whenever you have one. It never widens this session's grant: over HTTP the workspace registered for the connection decides, and over stdio it is checked against the client's own MCP roots unless this session's root is already pinned, when it is ignored. Each tool's description says what it does with a path that grant does not cover. | |
| force_refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |