Find references
find_referencesFind every known reference to a switch, variable, database record, common event, map, or map event, including low-confidence script matches.
Instructions
Reverse lookup: every known reference to a switch, variable, database record, common event, map, or map event (refKind "event" needs mapId). Includes low-confidence matches inferred from script text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"refKind": "<refKind>",
"id": "<id>"
},
"name": "find_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| mapId | No | ||
| eventId | No | For self_switch: the owning event | |
| refKind | Yes |