perform_interaction
Perform browser actions—click, type, select, scroll, or wait—using CSS selectors to interact with elements in real user sessions.
Instructions
Interact with page elements: click, type into inputs, select dropdown options, scroll, or wait for selector. Use get_html first to verify selectors.
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>",
"selector": "<selector>"
},
"name": "perform_interaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to type (Required for action="type") | |
| tabId | No | Tab ID (optional) | |
| value | No | Value to select (Required for action="select") | |
| action | Yes | Action to perform | |
| selector | Yes | CSS selector (Required for click, type, select, wait. Optional for scroll) | |
| timeoutMs | No | Timeout in milliseconds | |
| coordinateX | No | X coordinate for scroll | |
| coordinateY | No | Y coordinate for scroll |