Find symbols and references
find_symbolsLocate symbol definitions, references, imports, and exports across a codebase with precise byte offsets and bounded snippets.
Instructions
Read-only code navigation across a project: find symbol definitions, textual references, imports, and exports with precise byte offsets and bounded snippets.
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_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | What to return | definitions |
| limit | No | Maximum matches | |
| query | No | Symbol or module text to find; empty lists all definitions | |
| cursor | No | Opaque cursor returned by a previous page | |
| directory | No | Project directory to inspect | . |
| file_path | No | Optional file path, relative to directory | |
| max_files | No | Maximum files to parse | |
| redact_secrets | No | Redact common secrets in returned snippets (default: true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | Yes | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| schema_version | Yes |