drag
Drag a UI element onto another target element on a specified page using page ID and element UIDs. Simulates the drag-and-drop interaction to change the page state for subsequent inspection.
Instructions
Drag an element onto another element
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": {
"pageId": "<pageId>",
"from_uid": "<from_uid>",
"to_uid": "<to_uid>"
},
"name": "drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Targets a specific page by ID. | |
| to_uid | Yes | The uid of the element to drop into | |
| from_uid | Yes | The uid of the element to drag | |
| includeSnapshot | No | Whether to include a snapshot in the response. Default is false. |