computer
Performs browser actions such as screenshots, zoom, clicks, hover, drag, typing, key presses, scrolling, and waits to control real Chrome profiles while preserving logins.
Instructions
Perform computer-use browser actions: take screenshots, zoom into a region, click (left/right/double/triple/middle), hover, drag, type text, press keys/shortcuts, scroll, scroll an element into view, or wait.
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": "computer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional element ref ID (e.g., "ref_7") as an alternative to coordinate for click, hover, or scroll_to. | |
| text | No | Text to type (for action="type") or key/chord name (for action="key", e.g., "Enter", "Escape", "Tab", "Control+a", "ArrowDown"). | |
| tabId | No | Target tab ID (defaults to active managed tab). | |
| action | Yes | The computer-use action to perform. | |
| region | No | [x0, y0, x1, y1] viewport bounding box to crop and magnify for action="zoom". | |
| repeat | No | Repeat count for action="key" (1-50, default 1). | |
| duration | No | Wait duration in seconds for action="wait" (max 30). | |
| modifiers | No | Optional modifier keys during clicks (e.g., "ctrl", "shift", "alt", "meta"). | |
| coordinate | No | [x, y] viewport pixel coordinates for click, hover, scroll, or drag end. | |
| scroll_amount | No | Number of wheel ticks to scroll (1-20, default 3). | |
| scroll_direction | No | Scroll direction for action="scroll". | |
| start_coordinate | No | [x, y] start coordinates for left_click_drag. |