click_and_drag
Execute mouse drag operations by specifying start and end positions or element IDs to move, resize, or reorder UI elements in Windows applications.
Instructions
Click and drag from one position to another. Useful for resizing, reordering, or moving elements.
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": "click_and_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endX | No | ||
| endY | No | ||
| button | No | left | |
| startX | No | ||
| startY | No | ||
| durationMs | No | ||
| endElementId | No | Element to drag to | |
| modifierKeys | No | ||
| startElementId | No | Element to start drag from |