phone_flow_run
Run an installed flow or draft JSON file once on an iPhone, pass its declared inputs, confirm side-effect steps, and optionally verify declared outputs.
Instructions
Run one flow exactly once: an installed registry id or a flow file (*.json, e.g. a draft being proved). Pass its declared inputs; risk=side_effect needs confirm=true; compat broken/incompatible for the installed app version needs force=true. Declared outputs come back top-level (verify=true checks them). One lock, whole-sequence validation, stops at the first failed step; a read_only flow missing an element retries its other-language variant. retry_safe=false: DO NOT replay, repair the flow.
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": {
"id": "<id>"
},
"name": "phone_flow_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Registry id such as `health/export-all` (see phone_flow_list), or the path of a flow file (`*.json`) — e.g. a draft saved by phone_flow_draft, to prove it on the phone before publishing. | |
| force | No | Run even when compat is `broken` or `incompatible` for this phone. | |
| inputs | No | Runtime string inputs declared by the flow. Values are used for this run only and never persisted. Never pass passwords, codes, or private message content. | |
| verify | No | Compare what the flow read (its `outputs`) against the recorded result shape; `verify.ok=false` names what drifted. | |
| confirm | No | Required for flows declared `risk: side_effect`. Set true only after the user confirmed the target and inputs. | |
| instance | No | daemon instance name | |
| write_fixture | No | With verify: record this run's output shape as the fixture (types only). Only after checking the values are right. |