drag
Execute human-like drag actions for sliders, reordering, or canvas drawing by moving from one element or coordinates to another with realistic path and mouse hold.
Instructions
Perform a human-like drag from one element/ref or coords to another (e.g. for sliders, reordering, canvas drawing). Uses the realistic path engine while holding the mouse button.
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": "drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toX | No | ||
| toY | No | ||
| fromX | No | ||
| fromY | No | ||
| toRef | No | ||
| button | No | ||
| fromRef | No | ||
| stealth | No |