Find Definition
localnest_find_definitionFind the declaration location of a symbol across TypeScript, JavaScript, Python, Go, and Rust files. Returns file path, line range, and declaration text. Requires prior project indexing.
Instructions
Jump to the declaration location(s) of a symbol across TypeScript, JavaScript, Python, Go, and Rust files. Returns file path, line range, and declaration text. Requires the project to be indexed first via localnest_index_project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The symbol name to find the definition of | |
| project_path | No | Scope search to a specific project | |
| language | No | Filter by language: typescript, javascript, python, go, rust | |
| response_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |