Drag
dragMoves an element to another element’s center in a Windows desktop app using source and target indices from the latest app state.
Instructions
Drag from one element to another (element centres).
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": {
"app": "<app>",
"from_element_index": "<from_element_index>",
"to_element_index": "<to_element_index>"
},
"name": "drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| to_element_index | Yes | Element index from the last get_app_state, as a string | |
| from_element_index | Yes | Element index from the last get_app_state, as a string |