browser_drop
Drop files or MIME text data onto a target element via a snapshot ref or Playwright selector for drag-and-drop automation.
Instructions
Drop files or data onto an element.
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 | MIME → text payload for synthetic drag-drop. | |
| paths | No | Absolute file paths to drop. | |
| target | Yes | Element ref like e3 from a prior browser_snapshot, OR a raw Playwright selector (css=, xpath=, text=, role=). | |
| element | No | Human-readable element description for logging only. |