drag_widget
Simulates drag and drop between two widgets for building drag-and-drop interfaces like chess boards or sortable lists.
Instructions
Perform drag and drop between two widgets.
Simulates dragging from one widget to another. Useful for drag-and-drop interfaces like chess boards, sortable lists, etc.
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": {
"start_widget_id": "<start_widget_id>",
"end_widget_id": "<end_widget_id>"
},
"name": "drag_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_widget_id | Yes | The widget ID to drag from | |
| end_widget_id | Yes | The widget ID to drag to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |