Browse documentation

get_symbol_declaration

[references]

Returns declaration locations for a stable symbol key.

Try it locally in the TGlider playground

Parameters

NameTypeRequiredDescription
symbolKeystringYesStable symbol key returned by a prior symbol discovery tool.

Examples

Replace sample paths and symbol keys with values from your workspace.

Find declarations for a symbol

Arguments
{
  "symbolKey": "role=canonical|..."
}
Full MCP request
Full MCP request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_symbol_declaration",
    "arguments": {
      "symbolKey": "role=canonical|..."
    }
  }
}

Response Notes

Returns declaration locations and declaration metadata.