Interact with the page
steel_actPerform browser actions like clicking, typing, filling forms, selecting, hovering, scrolling, and pressing keys in a live session. Target elements by @eN reference or CSS selector, and get a clear report of what changed.
Instructions
Click, type, fill a form, select an option, hover, scroll, press a key, go back, or dismiss a cookie or consent overlay. Target elements by the @eN reference from steel_snapshot or steel_find, or by a CSS selector. Always reports what actually changed, and says so plainly when nothing did.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Text to type, option to select, key name to press, or scroll distance in pixels. | |
| action | Yes | What to do. | |
| fields | No | For fill_form: the fields to fill, in order, in one round trip. | |
| target | No | A @eN reference or a CSS selector. Not needed for scroll, press, go_back or dismiss_overlays. | |
| max_tokens | No | Cap on the text returned, in tokens. Defaults to 8000. | |
| session_id | Yes | Live session_id from steel_session_create. | |
| include_snapshot | No | Also return the page structure afterwards. Off by default. |