find_symbol
Search a code graph to locate classes, interfaces, functions, or variables by name or partial name, with optional type and workspace filters.
Instructions
Search graph for code symbols (Class, Interface, Function, Variable).
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": "find_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Symbol name or partial name. | |
| limit | No | Max results (default: 50). | |
| symbolType | No | Optional type: 'Class', 'Interface', 'Function', 'Variable'. | |
| workspacePath | No | Optional workspace root path. |