phone_flow_draft
Convert the daemon's recorded phone actions in the current app into a flow draft with locators, named inputs (no typed text), and a todo list; ask the user before saving.
Instructions
Turn what you just did on the phone into a flow: the daemon's trail of applied actions in the current app (not flow runs) as a flow v1 document — snapshot taps become label/identifier locators, typed text becomes named inputs and is never included — plus a todo list. Call it on flow_suggestion or after a multi-step task with no flow, but ASK THE USER before saving. save_as writes and validates the file; fix the todos, prove it with phone_flow_run, publish only with the user's OK.
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": "phone_flow_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_as | No | Optional path to write the draft flow to (a new `.json` file; existing files are never overwritten). It is validated after writing. | |
| instance | No | daemon instance name |