Drag with the mouse
mouse_dragDrags the mouse between two coordinates along a human-like curved path using a specified button; requires intent so high-risk actions trigger an explicit user prompt.
Instructions
Drag from one point to another using a human-like curved path. intent is mandatory. High-risk semantic intent triggers an explicit user prompt.
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": {
"from_x": "<from_x>",
"from_y": "<from_y>",
"to_x": "<to_x>",
"to_y": "<to_y>",
"button": "<button>",
"intent": "<intent>"
},
"name": "mouse_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_x | Yes | Horizontal coordinate in the reported coordinate space. | |
| to_y | Yes | Horizontal coordinate in the reported coordinate space. | |
| button | Yes | ||
| from_x | Yes | Horizontal coordinate in the reported coordinate space. | |
| from_y | Yes | Horizontal coordinate in the reported coordinate space. | |
| intent | Yes | ||
| target_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |