act_fast
Perform a single Playwright browser action—click, fill, select, scroll, or wait—on a ref, selector, text, or x/y coordinate; optionally return a DOM snapshot and block submits unless allowSubmit=true.
Instructions
One action on a ref, selector, text or x/y. Supports returnSnapshot; blocks submit/publish/send unless allowSubmit=true.
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": {
"action": "<action>"
},
"name": "act_fast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Viewport x coordinate (or offset relative to target). | |
| y | No | Viewport y coordinate (or offset relative to target). | |
| dx | No | ||
| dy | No | ||
| ms | No | ||
| key | No | ||
| ref | No | ||
| url | No | Wait until page URL matches pattern. | |
| file | No | ||
| text | No | Visible text. For wait: "A|B" matches any alternative (result.matched). | |
| files | No | ||
| label | No | ||
| state | No | ||
| tabId | No | ||
| value | No | ||
| action | Yes | ||
| button | No | left | |
| slowly | No | When false fills immediately; when true types character by character. | |
| submit | No | Press Enter after type action (blocked unless allowSubmit=true). | |
| values | No | Multiple option values/labels for select action. | |
| delayMs | No | ||
| textNew | No | Wait for text ("A|B") appearing after the step starts; existing matches ignored. | |
| dropData | No | Custom MIME type -> string data entries for drop action DataTransfer. | |
| frameIdx | No | ||
| selector | No | ||
| textGone | No | Wait until matching text disappears. | |
| loadState | No | ||
| modifiers | No | ||
| targetRef | No | Drop target ref for drag action. | |
| timeoutMs | No | ||
| targetText | No | Drop target text for drag action. | |
| allowSubmit | No | ||
| snapshotMode | No | ||
| snapshotQuery | No | ||
| returnSnapshot | No | ||
| targetFrameIdx | No | ||
| targetSelector | No | Drop target selector for drag action. | |
| observeAftermath | No | Observe click navigation and mutating requests (up to 800 ms); report possible submits. | |
| snapshotMaxChars | No |