drag
Simulate HTML5 element-to-element drop interactions by specifying source and target selectors or refs.
Instructions
Drag one element onto another (HTML5 drag events).
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": "<from>",
"to": "<to>"
},
"name": "drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| tab | No | tab id, defaults to current | |
| from | Yes | ||
| request_timeout | No | Outer page request deadline in milliseconds; defaults to at least 30000 |