assert_fixture_exists
Checks whether a fixture ID exists in the console patch before selection or programming, using an indexed snapshot or live telnet lookup.
Instructions
Assert that a fixture ID exists in the console patch.
Two-tier lookup:
1. If a ConsoleStateSnapshot is available and the Fixture pool is
indexed, performs a zero-telnet check against the in-memory index.
2. Otherwise sends `list fixture {id}` via telnet and checks for
"NO OBJECTS FOUND" in the response (same mechanism as park_fixture).
Use this before any selection or programming operation when the fixture
ID is not guaranteed to be in the current patch.
Args:
fixture_id: The numeric fixture ID to check (e.g. 101).
Returns:
str: JSON with exists, fixture_id, source ("snapshot" or "live_telnet"),
and a hint if the fixture is not found.
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": {
"fixture_id": "<fixture_id>"
},
"name": "assert_fixture_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fixture_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |