[references]
Returns declaration locations for a stable symbol key.
Safe edits depend on real symbol relationships, not text matches in comments, strings, or similarly named modules.
The model can see actual declarations, references, implementations, and conservative cleanup candidates before editing.
Try it locally in the TGlider playground
| Name | Type | Required | Description |
|---|---|---|---|
| symbolKey | string | Yes | Stable symbol key returned by a prior symbol discovery tool. |
Find declarations for a symbol
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_symbol_declaration",
"arguments": {
"symbolKey": "role=canonical|..."
}
}
}Returns declaration locations and declaration metadata.