wavexis_set_files
Upload files to any element by providing a CSS selector and absolute file paths. Automatically fires change events to trigger upload logic.
Instructions
Upload files to a file input element (<input type="file">).
Use wavexis_drop when you need to simulate drag-and-drop of files or MIME data onto a non-file-input element.
Side effects: Sets the selected files on the target file input element, firing change events that typically trigger upload logic. Returns: JSON string with keys: 'status' ('ok'/'error'). 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 |