get_relevant_context
Retrieve targeted code snippets by describing your needs in natural language to find relevant programming context efficiently.
Instructions
Get code context relevant to a natural language query. Returns minimal, targeted code snippets.
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": {
"query": "<query>"
},
"name": "get_relevant_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language description of what you need context for | |
| maxTokens | No | Maximum tokens to return (approximate). Default: 4000 |