cross_references
Find where a symbol is defined and all places it is referenced, including calls, imports, and attribute accesses, to trace usage and resolve naming collisions.
Instructions
Find where a symbol is defined and each place that references it: calls, imports and attribute accesses.
Args: file_path: When names collide, select the definition in this repository-relative file. line: Select the definition by its start line. cursor: Continue a paged result. page_size: References per page, 1 to 100 (default 20).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | ||
| cursor | No | ||
| file_path | No | ||
| page_size | No | ||
| workspace | No | Project path (default: this project) | |
| max_tokens | No | ||
| symbol_name | Yes |