get_usage_context
Retrieves a symbol's definition, references, and calls to provide full context in a single query, enabling efficient code analysis.
Instructions
Retrieves a comprehensive context for a symbol:
Definition (where it is)
References (who calls it)
Calls (who it calls)
This is optimized for small LLMs to get full context in one shot.
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": {
"symbol": "<symbol>"
},
"name": "get_usage_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |