browser.execute_action
Execute a single browser action like navigate, click, type, or scroll in a live session. Use browser.observe first to get element IDs, then run policy-checked actions and receive verification plus a page observation.
Instructions
Execute one browser action (navigate, click, hover, type, press, select_option, scroll, …) in a session, using the same action schema the agent planner emits. Actions are policy-checked and audited, and governed actions may require a granted approval_id. Call browser.observe first to get targetable element IDs and selectors. Returns the action's verification (what changed) and an observation of the page after it (up to 20 interactables).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The browser action to execute, in the shared action schema: an action type (navigate, click, type, scroll, wait, done, …) plus its arguments, e.g. a URL for navigate or an element selector/index for click and type. | |
| detail | No | 'compact' (default) leaves out what choosing the next step does not need: the full session record (see browser.get_session), remote-access diagnostics and, for actions, the pre-action snapshot. 'full' returns the complete payload. | compact |
| session_id | No | Target session id, from browser.create_session or browser.list_sessions. Optional when exactly one session is live; observe and act tools create one when none is. | |
| approval_id | No | ID of a granted approval that authorizes this action when the active policy requires one. Omit when the action does not need approval. |