inspect_symbol
Retrieve a symbol's definition, source excerpt, references, imports, and candidate tests in one call by name; disambiguate results with file path and line.
Instructions
Get a symbol in one call: definition, source excerpt, references, imports and candidate tests.
A name is enough. For an ambiguous name, the result lists choices: give the repository-relative file_path and the definition start line to select one. Add task_hint to order the excerpts and tests for your task. For a long definition, follow next_source or set source_start_line. Keep each context_ranges group with its excerpt. Missing relationships do not prove absence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | ||
| file_path | No | ||
| task_hint | No | ||
| workspace | No | Project path (default: this project) | |
| max_tokens | No | ||
| symbol_name | Yes | ||
| source_start_line | No |