browser_drag
Drags an element from a start selector to an end selector, performing automated drag-and-drop actions in a browser.
Instructions
把元素 A 拖到元素 B
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_selector": "<start_selector>",
"end_selector": "<end_selector>"
},
"name": "browser_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _agent_id | No | 隔离键:同一 agent 的所有调用传相同的值以保持其浏览器;不同 agent 传不同的值以获取独立浏览器。省略则共享默认浏览器。 | |
| end_selector | Yes | 终点 CSS 选择器 | |
| start_selector | Yes | 起点 CSS 选择器 |