Get Context
get_contextFetches, ranks, and returns relevant checks, specs, docs, and tech stack for your current task within a token budget, with IDs to fetch remaining items.
Instructions
Intelligent context aggregator: fetches checks, specs, docs, and tech stack, ranks them by relevance to your current task, and returns the full text of the highest-ranked items within a token budget — each with the ID needed to fetch the rest. Use this instead of calling individual tools when you want curated, relevant context.
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": {
"task_description": "<task_description>"
},
"name": "get_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_paths | No | File paths being edited — used for language/category detection | |
| max_tokens | No | Maximum token budget for the response (default: 4000) | |
| task_description | Yes | What you're working on (e.g., 'add a new REST endpoint for user preferences') |