act_on_page
Automates browser tasks in PageBolt from a URL and plain-English goal: run an observe-plan-act-verify loop until the outcome is reached, then return actions and success status.
Instructions
Give PageBolt a URL and a plain-English GOAL; it runs an observe→plan→act→verify loop server-side until the goal is met, then returns a structured trace of every action it took plus a success/failure status. This is the "hands" on top of observe_page (the "eyes") — you do NOT author selectors or a step list yourself. Use act_on_page when you only know the OUTCOME you want (e.g. "log in and open billing", "accept the cookie banner and start a trial"); use run_sequence when you already know the exact deterministic steps/selectors (cheaper). Available on Starter+ plans. Cost is metered: 2 requests base + 1 per step taken. SECURITY: page text is treated as untrusted — the agent pursues only your goal and ignores instructions embedded in the page. Scope allowedDomains tightly and avoid destructive flows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Required. The page to start on. | |
| goal | Yes | Required. Plain-English description of the outcome you want (e.g. "Log in and go to the billing page"). | |
| maxSteps | No | Cap on planning iterations (default 8). Clamped to your plan ceiling (Starter 10, Growth 15, Scale 20). | |
| session_id | No | Run inside an existing persistent session (Starter+; create with create_session) to reuse cookies/login. Otherwise an ephemeral browser is used and discarded. | |
| credentials | No | Login credentials. The agent references them as {{username}}/{{password}} and they appear in the returned trace as <redacted>. | |
| allowedDomains | No | Hosts the agent may navigate to (e.g. ["app.example.com"]). Defaults to the start URL host only; navigation elsewhere is rejected. |