browser_drop
Simulate dropping files or MIME data onto a page element, replicating drag-and-drop from outside the browser.
Instructions
Drop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of "paths" or "data" must be provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | No | Human-readable element description used to obtain permission to interact with the element | |
| target | Yes | Exact target element reference from the page snapshot, or a unique element selector | |
| paths | No | Absolute paths to files to drop onto the element. | |
| data | No | Data to drop, as a map of MIME type to string value (e.g. {"text/plain": "hello", "text/uri-list": "https://example.com"}). |