browser_mouse_drag
Drags or draws a continuous stroke through 2–100 CSS-pixel points in a browser screenshot viewport, pressing at the first point and releasing at the last to automate canvas drawing and mouse drag.
Instructions
Drags or draws a continuous stroke through 2–100 {x,y} points in CSS pixels of a recent screenshot viewport. Presses on the first and releases on the last; add intermediate points to draw on canvas. durationMs is the total stroke duration (600 ms default), split into three random phases summing that total. While held, follows straight segments without noise or overshoot. Available in fast and normal. Does not drop files or external data.
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": {
"tabId": "<tabId>",
"points": "<points>"
},
"name": "browser_mouse_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | ||
| button | No | ||
| points | Yes | ||
| durationMs | No |