restore_programmer_state
Preview or apply a conservative grandMA2 programmer-state restore from a snapshot, running only supported telnet commands and reporting skipped fields.
Instructions
Preview or apply a conservative programmer-state restore (SAFE_WRITE).
This tool intentionally restores only fields that can be expressed
confidently through existing MA2 telnet commands. It does not attempt to
recreate exact fixture selections, parked-fixture state, or MAtricks.
Args:
snapshot_json: JSON payload from snapshot_programmer_state().
apply: If False (default), return the restore plan only.
clear_before_restore: If True, begin with ClearAll when apply=True.
Returns:
str: JSON with planned commands, executed commands, and skipped fields.
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": {
"snapshot_json": "<snapshot_json>"
},
"name": "restore_programmer_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| snapshot_json | Yes | ||
| clear_before_restore | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |