find_symbol
Search and locate functions, classes, structs, interfaces, variables, and type aliases by name pattern, kind, file, language, or exported status to navigate a codebase.
Instructions
Find code symbols (functions, classes, structs, interfaces, variables, type aliases) by name pattern, kind, file, or language.
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": "find_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional repo-relative file path or glob pattern. | |
| kind | No | Optional symbol kind filter (Function, Class, Struct, Interface, Enum, Variable, TypeAlias, Property). | |
| name | No | Symbol name or glob pattern (supports * and ?; plain text matches case-insensitive substring). | |
| limit | No | Maximum symbols to return (default 50). | |
| language | No | Optional canonical language filter (go, python, typescript, tsx, javascript, rust, java). | |
| exported_only | No | When true, return only exported/public symbols. |