flow
Record Android phone UI actions once, then replay them without a model, using stable selectors, variables, screenshots, and step patching to automate repeatable tasks.
Instructions
Record once, replay without a model. name: flow name or .yaml path. record{name, vars?}: keep every successful act step (refs become stable selectors); ${var} in act takes vars, saved unexpanded. save / discard: end it. run{name, vars?, evidence?=dir}: replay; steps wait for their element. On failure: step number + screen; fix with patch{name, index, steps} (steps:[] deletes), run again. list, show{name}, help{name?:steps|selectors|flows|cli}: full reference.
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": {
"action": "<action>"
},
"name": "flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| vars | No | ||
| index | No | ||
| steps | No | ||
| action | Yes | ||
| evidence | No |