Semantic navigation
semantic_navigationFind code definitions, references, implementations, and diagnostics by using language servers or SCIP data, with automatic Tree-sitter fallback.
Instructions
Navigate local code with an imported SCIP catalog or allow-listed local language server when available, using definitions, references, implementations, hover, type hierarchies, and diagnostics; otherwise fall back explicitly to bounded Tree-sitter analysis with confidence and coverage metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | 1-based source line | |
| column | Yes | 0-based character column | |
| backend | No | Use a local language server, Tree-sitter fallback, or auto | auto |
| directory | No | Project directory | . |
| file_path | Yes | Source file path relative to directory | |
| max_files | No | Maximum files used by the Tree-sitter fallback | |
| operation | Yes | Semantic navigation operation to perform | |
| timeout_ms | No | Local LSP request timeout | |
| max_results | No | Maximum locations returned | |
| include_source | No | Include bounded source snippets | |
| redact_secrets | No | Redact common secrets in returned source and hover text | |
| max_source_bytes | No | Maximum source bytes per location or hover result |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | Yes | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| schema_version | Yes |