firefox_drag
Simulates a drag operation from one point or element to another within a Firefox tab.
Instructions
Drag from one point or element to 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": {
"sessionTabId": "<sessionTabId>"
},
"name": "firefox_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionTabId | Yes | fire-fodex session tab id | |
| fromX | No | ||
| fromY | No | ||
| fromSelector | No | CSS selector or fire-fodex element ref | |
| toX | No | ||
| toY | No | ||
| toSelector | No | CSS selector or fire-fodex element ref | |
| frameRef | No | Optional frame ref returned by firefox_snapshot. | |
| steps | No | ||
| observe | No | snapshot |