Drop files or data onto an element
browser_dropSimulate dropping files or MIME-typed data onto a page element, enabling testing of drag-and-drop uploads and drop handlers without external UI interaction.
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.
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": {
"target": "<target>"
},
"name": "browser_drop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| _meta | No | ||
| paths | No | ||
| target | Yes | ||
| element | No |