symbol_info
Look up a symbol's header, hover, definition, and references grouped by file in one call; pass a file path to disambiguate duplicate names.
Instructions
What is X and where is it used? Example: symbol_info(name="UserService.create_user").
One-call summary for a name: header, hover text, definition, and references grouped by file — the usual first lookup instead of chaining search_symbol → hover → definition → references by hand.
name is a symbol name, or a dotted Class.method to resolve a specific
method when the plain name is ambiguous. Pass file_path (relative to the
workspace root) to disambiguate when several symbols share a name
elsewhere in the workspace; if it's still ambiguous, the candidates are
listed back so you can retry with a narrower name or file_path.
query is accepted as an alias for name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| query | No | ||
| file_path | No | ||
| include_references | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |