codebase_symbol
Analyze a code symbol to see its definition, kind, callers, callees, and confidence levels before modifying a function or class.
Instructions
360° view of a symbol: definition, kind, callers, callees, confidence levels. Use to understand a function or class before changing it.
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": "codebase_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional file hint to disambiguate when the name is not unique. | |
| name | Yes | Symbol name (e.g. 'validateUser'). | |
| limit | No | Maximum definitions to resolve when the name is not unique. Omit to resolve all. | |
| projectPath | No | Absolute path to the project directory. |