Act on observed elements
tab_actExecute up to 20 ordered actions on a page snapshot, then use post-checks to verify expected outcomes and confirm success.
Instructions
Execute 1–20 ordered actions against a current snapshot. Optional post_checks run only after the whole batch completes, using this same snapshot's refs; they poll for asynchronous outcomes and return verification evidence in this call. A failed postcondition keeps completed effects, sets replan_required, and skips later queued tools. Ref checks fail if the document or node changes; use separate tab_verify after navigation. Use fill_secret with an observed ref and a secret alias from snapshot.available_secrets for configured credentials. Includes hover, double_click, explicit local-file upload, and click_xy in main-viewport CSS pixels after visual inspection (coordinates lack DOM identity guards). Default 30s action budget, maximum 60s; verification has a separate timeout. Stops on first action failure. A followed popup returns its snapshot and replan_required without running post_checks. Cancellation closes the session; completed effects remain.
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": {
"session_id": "<session_id>",
"snapshot_id": "<snapshot_id>",
"actions": "<actions>"
},
"name": "tab_act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | Yes | ||
| session_id | Yes | Session ID returned by tab_open. | |
| timeout_ms | No | ||
| post_checks | No | ||
| snapshot_id | Yes | ||
| include_snapshot | No | ||
| verify_timeout_ms | No |