app_drag
Drag an element to a target by selector or text, or by pixel offset for sliders, range inputs, reordering lists, or canvas handles.
Instructions
Drag an element (by selector or text) onto another element, or by a pixel offset — for sliders, range inputs, reordering lists, or canvas handles. Provide to (a target with selector/text) OR offset {x,y}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "app_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Destination element | |
| text | No | Target by visible text or accessible name (e.g. "Browse") | |
| exact | No | With text: require an exact match instead of substring | |
| offset | No | Pixel offset to drag by (alternative to `to`) | |
| selector | No | CSS selector for the element |