symbol_info
Get a JS/TS symbol's header, hover text, definition, and references grouped by file in one call, replacing chained search, hover, definition, and reference lookups.
Instructions
What is X and where is it used? Example: symbol_info(name="renderSidebar").
One-call summary for a JS/TS name: header, hover text, definition, and
references grouped by file — the usual first lookup instead of chaining
search_symbol → hover → definition → references by hand. Pass file_path
to disambiguate; query is accepted as an alias for name. For CSS/HTML
cross-file lookups use css_var / selector instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "symbol_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| query | No | ||
| file_path | No | ||
| include_references | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |