wavexis_drop
Drop files or MIME-typed data onto a target element by simulating drag-and-drop events. Provide a CSS selector and optional file paths or MIME data payloads; dispatches dragEnter, dragOver, and drop events.
Instructions
Drop files or MIME-typed data onto an element via drag events.
Use wavexis_set_files for standard <input type="file"> uploads or
wavexis_drag for dragging an existing DOM element to another element.
Side effects: Dispatches dragEnter, dragOver, and drop events with the supplied data and files onto the target element's coordinates. Returns: JSON string with keys: 'status' ('ok'/'error'), 'selector' (str), 'x' (float), 'y' (float), 'data_types' (list[str]), 'files' (list[str]). On error also 'error', 'tool', 'type', 'message', 'suggestion' (all str).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |