Act on Observed Element
browser_actionExecutes click, fill, type, select, check, uncheck, or scroll actions on browser elements by observation index, rejecting stale or out-of-range references.
Instructions
Execute click, fill, type, select, check, uncheck, or scroll using a temporary element_index from the latest browser_observe call. Rejects stale or out-of-range indices.
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": "browser_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Input text or option value for fill, type, or select actions | |
| action | Yes | Action to execute against the latest observation | |
| amount | No | Scroll pixels when action="scroll" without element_index | |
| task_id | No | Optional task ID for execution tracking and cancellation | |
| direction | No | Scroll direction when action="scroll" without element_index | |
| timeoutMs | No | Bounded timeout in milliseconds (500-60000) | |
| session_id | No | Optional target browser session ID (defaults to active default session) | |
| element_index | No | Zero-based element index from the latest browser_observe output | |
| observation_id | No | Optional observationId to enforce exact observation freshness |