search_symbols
Search an indexed codebase for functions, classes, types, or other symbols by name or pattern, with optional filtering by symbol kind.
Instructions
Find functions, classes, types, and other symbols by name or pattern in an indexed codebase.
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": {
"directory": "<directory>",
"query": "<query>"
},
"name": "search_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter by symbol kind | |
| query | Yes | Symbol name or pattern to search for | |
| directory | Yes | Absolute path to the indexed project | |
| maxResults | No | Maximum results to return |