find_symbol
Search for code symbols by pattern to locate definitions and references within a codebase, returning precise symbol locations for navigation and analysis.
Instructions
Search symbols by pattern. Returns locations.
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_path_pattern": "<name_path_pattern>"
},
"name": "find_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_path_pattern | Yes | ||
| depth | No | ||
| relative_path | No | ||
| include_body | No | ||
| include_kinds | No | ||
| exclude_kinds | No | ||
| substring_matching | No | ||
| max_answer_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |