browser_drag
Drag an element from a source location and drop it onto a target element using human-readable descriptions or exact references.
Instructions
Perform drag and drop between two elements.
Args:
start_element: Human-readable source element description
start_ref: Exact source element reference from the page snapshot
end_element: Human-readable target element description
end_ref: Exact target element reference from the page snapshot
Returns:
Success message
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": {
"start_element": "<start_element>",
"start_ref": "<start_ref>",
"end_element": "<end_element>",
"end_ref": "<end_ref>"
},
"name": "browser_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_element | Yes | ||
| start_ref | Yes | ||
| end_element | Yes | ||
| end_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |