Browse documentation

find_references

[references]

Finds references for a previously discovered 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 all references to a symbol

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

Response Notes

Returns reference locations with file and line text, plus a partial flag and notes when resolution may have missed call sites (for example only the declaration was found or a project could not re-resolve the declaration).