Run page actions
run_actionsExecute ordered browser page actions—click, fill, press, select, check, uncheck, or wait—in one call, receive per-step change reports, and stop at the first failure.
Instructions
Run a list of page actions (click, fill, press, select, check, uncheck, wait) in order in one call, on a page of a task space you control. Stops at the first failure; nothing is reordered or retried. Each step reports what changed (URL, dialog, new tab, list counts, messages); after a click or key the next step waits for the page to be quiet (≤300 ms). Stops if the user has control. For anything else use run_script.
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": {
"space_id": "<space_id>",
"actions": "<actions>"
},
"name": "run_actions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page label such as p1 (default: the active page). | |
| settle | No | Wait for the page to be quiet after each click / key press before the next step (default true, at most 300 ms per step). | |
| actions | Yes | Steps in order, e.g. [{"action":"fill","target":"#q","value":"LMS"},{"action":"click","target":"text=Search"},{"action":"wait","target":"#res tr"}]. | |
| space_id | Yes | Task space id (from list_spaces or an earlier script). |