context
First-touch task orientation. Pass a natural-language task; returns the top 5 relevant files with their symbols and best-matching snippets in one call (~1-1.5k tokens, ~500 ms, no LLM). Replaces chaining locate (text) + locate (semantic) + list_file_symbols. Known symbol: find_node/locate. Synthesized explanation: ask_codebase.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Natural-language task. Returns ranked files with symbols and matching snippets, no LLM call. | |
| feedback | No | Optional: report how a previous answer worked out; piggybacks on any call. | |
| commitSha | No | Pin reads to one indexed revision (7-40 hex). Graph tools error with revision_not_indexed when it is not an indexed revision of the scoped repository, or revision_not_servable when that revision's graph was superseded by a later reindex, and echo the revision served back as commitSha; source ops read git objects, so any commit works there. Exception: a kept revision (revisions rows flagged architectureSnapshot) still serves map view:"architecture" as a preserved snapshot. | |
| projectId | No | Project id from init/list_projects. Omit for the active project. | |
| repository | No | Repository full name, e.g. "owner/repo". Omit when the project has one repository. |