Drag and drop
browser_dragPress on one element (from_ref, or from_x/from_y) and drag it onto another (to_ref, or to_x/to_y) like a hand: drag-and-drop lists, sliders, canvas.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_x | No | Or a screen x from browser_screenshot. | |
| to_y | No | Screen y. | |
| from_x | No | Or a screen x from browser_screenshot. | |
| from_y | No | Screen y. | |
| tab_id | No | A result's tab_id. | |
| to_ref | No | Element ref, e.g. 'e12'. | |
| from_ref | No | Element ref, e.g. 'e12'. | |
| session_id | No | Only with several sessions. |