get_context
Retrieve progressive, evidence-backed context for any file, class, module, or route. Adjust depth, purpose, and token budget to match understanding, implementation, debugging, review, or planning needs.
Instructions
Delivers progressive context about any part of the project — files, classes, modules, routes. Supports depth levels (summary/structure/detail/full), purpose modes (understand/implement/debug/review/plan), and token budgets.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "get_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Level of detail. Default: structure | |
| target | Yes | Path, entity name, or query (e.g., "src/controllers/", "UserService", "POST /api/users") | |
| include | No | Additional content sections to include | |
| purpose | No | Adjusts which content types are prioritized. Default: understand | |
| session_id | No | For delta responses across repeated queries | |
| token_budget | No | Maximum tokens in response. Default: 2000 |