safari_drag
Drag an element onto another element or to X/Y coordinates in Safari using CSS selectors or exact positions to automate drag-and-drop interactions.
Instructions
Drag an element to another element or position. Use CSS selectors or x/y coordinates.
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": "safari_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | Optional short purpose of this step, shown to the user in the cursor's status pill (e.g. 'to save the settings'). The page can read it: never put passwords, codes, card numbers or other private data in it. | |
| sourceX | No | Source X coordinate | |
| sourceY | No | Source Y coordinate | |
| targetX | No | Target X coordinate | |
| targetY | No | Target Y coordinate | |
| sourceSelector | No | CSS selector of element to drag | |
| targetSelector | No | CSS selector of drop target |