Describe the repository
describe_repoRetrieve a read-only repository summary preview or context bundle, and flag when a summary refresh is needed before a separate write.
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
Follow instruction before persisting. When a write is allowed, pass
workspace_id, repo_path and repo_hash unchanged to write_repo_summary.
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: one server can serve several sessions. | |
| force_refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |