search_symbols
Locate function and class declarations across Python, JS/TS, and generic code by name, returning symbol lines, parameters, and docstrings without scanning full files.
Instructions
Search for function and class declarations/definitions across Python, JS/TS, and generic code. Returns symbol names, lines, parameters, and docstrings without full text scanning.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| sub_dir | No | ||
| path_glob | No | ||
| workspace | No | default | |
| max_matches | No | ||
| symbol_type | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||