state_seed
Writes app storage keys and debug property overrides through the in-app debug channel, optionally reads them back for verification, and deletes keys when null is supplied.
Instructions
Write storage keys through the in-app debug channel, then optionally read them back to verify. Use null to delete a key.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "state_seed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Storage values to write: scalar, string array, or a flat object. premium expects { active: boolean, code: string }; deck_list expects an array of ids. | |
| verify | No | Read back and compare after writing (default: true) | |
| prg_path | No | PRG to restart after the snapshot; defaults to the last run PRG | |
| snapshot | No | Snapshot app storage before writing premium, license or deck keys (default: true) | |
| app_names | No | Uppercase PRG basenames to snapshot; defaults to the last run PRG | |
| device_id | No | Device used when restarting after the snapshot; defaults to the last run device | |
| properties | No | Debug property overrides to store as debug_prop_<key>. Supported keys: daily_goal, reveal_behavior, auto_advance, card_order, premium_enabled, deck_data, deck_2, deck_3, deck_4. | |
| timeout_ms | No | Per-command timeout in milliseconds (default: 10000) | |
| snapshot_dir | No | Directory for the snapshot |