browser_drag
browser_dragDrag one interactive browser element onto another to perform drag-and-drop actions, such as moving items, reordering lists, or adjusting sliders.
Instructions
Drag one element from browser_get_interactives onto another.
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": {
"tab_id": "<tab_id>",
"source_element_id": "<source_element_id>",
"target_element_id": "<target_element_id>"
},
"name": "browser_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes | Chrome tab ID. | |
| frame_id | No | Chrome frame ID inside the tab from browser_get_frames. 0 is the top document, which is the default. | |
| session_id | No | Session that owns the tab. Pass it on every call so the runtime can refuse a tab another session holds. | |
| session_name | No | Name for this conversation's Chrome tab group, so the tab bar reads as the task instead of a generated id. Sticky: pass it once when the name becomes clear, and again only to rename. | |
| source_element_id | Yes | ||
| target_element_id | Yes |