Upload files
browser_uploadAttach local files by absolute path to a file input or drop zone, supporting uploads up to 25 MB total through a live browser session.
Instructions
Attach local files (absolute paths, 25 MB total) to a file input, or drop them onto a drop zone.
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": {
"paths": "<paths>"
},
"name": "browser_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from browser_find or browser_capabilities. | |
| paths | Yes | ||
| tabId | No | ||
| selector | No | CSS selector, if you have no ref. |