Upload files
browser_uploadAttach local files to a page's file input element as if chosen through the file chooser. Use it to automate file uploads in browser-controlled workflows.
Instructions
Attach local files to a file input element on the page (as if picked via the file chooser).
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": {
"selector": "<selector>",
"files": "<files>"
},
"name": "browser_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Absolute paths of the files to upload | |
| selector | Yes | The file input element (CSS selector or @eN handle) to set files on |