ctx_symbol
Fetches the full body of a named function, class, method, type, or constant with line numbers, resolving qualified names and listing candidates when ambiguous.
Instructions
The full body of one function, class, method, type or constant, with line numbers. Accepts "name", "Type.method" or "Type::method"; give path to disambiguate. Lists candidates when the name is ambiguous.
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": {
"name": "<name>"
},
"name": "ctx_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Symbol name: "verifyToken", or qualified as "AuthService.login" / "Parser::parse". | |
| path | No | Restrict to this file or directory. | |
| force | No | Return the body even if it was already returned unchanged in this session. | |
| budget_tokens | No | Hard cap on the tokens returned (estimate; default 4000). |