interact
Trigger page actions like clicking, filling, hovering, pressing, scrolling, or waiting to reach a state for inspection, and capture any resulting console errors.
Instructions
Drive the page to reach a state worth inspecting: open a menu, submit a form, scroll to a section. Returns any new console errors the action triggered. Avoid elements that open native alert/confirm dialogs.
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": "interact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Text for fill, key name for press, pixels for scroll, ms for wait. | |
| action | Yes | What to do. | |
| selector | No | CSS selector. Required for click, fill, hover. |