search_symbols
Locate functions, classes, interfaces, types, and constants across a codebase by name, kind, directory, or language; returns matching file and line details.
Instructions
Find functions, classes, interfaces, types, and constants across the codebase. Supports 40+ languages. Returns symbol name, kind, file, and line number.
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 |
|---|---|---|---|
| kind | No | Type of symbol to find (default: all) | |
| name | No | Symbol name to search for (partial match) | |
| language | No | Filter by language, e.g. "python", "typescript", "java" | |
| directory | No | Subdirectory to search within | |
| max_files | No | Max files to scan (default: 200, increase for large codebases) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| symbols | Yes |