search_symbols
Locate functions, classes, methods, and other code symbols by name pattern, with optional type and file filters, to answer structural code queries faster than grep.
Instructions
Search for functions, classes, methods by name pattern. Much faster than grep for structural queries.
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": {
"pattern": "<pattern>"
},
"name": "search_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Filter by file path (partial match) | |
| type | No | Filter by symbol type | |
| limit | No | Max results | |
| pattern | Yes | Name pattern to search (supports partial match) | |
| project | No | Project name | default |