safari_drag
Drag elements to target positions or drop targets using CSS selectors or x/y coordinates, enabling automated UI interactions in Safari.
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 |
|---|---|---|---|
| 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 |