understand_symbol
Returns a symbol's source code, imports, callers, and sibling symbols in one call, replacing several separate lookups when you need full context around a function or class.
Instructions
Returns a symbol's source code, file imports, callers, and sibling symbols in one call. Replaces 3-5 separate lookups when you need full context around a function or class.
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_id": "<symbol_id>"
},
"name": "understand_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol_id | Yes | Symbol identifier (from search_symbols or get_file_outline results) | |
| include_callers | No | Include files that reference this symbol | |
| include_imports | No | Include import statements from the symbol's file |