Upload
browser_uploadAttach local files to a browser file input using its ref, label, or chooser button instead of clicking. Reports each attached file and the visible page changes.
Instructions
Attaches files from this machine to a file input by ref: the input, its label, or the button that opens its file chooser. Use it instead of clicking a file input. Paths are absolute or ~/, inside the server's home; credential, key, history and browser-profile files are refused. Reports each file attached and the changes on screen.
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": {
"ref": "<ref>",
"files": "<files>"
},
"name": "browser_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Ref of the file input, its label, or the button that opens its file chooser (e12, f2e7 …), as browser_snapshot or browser_find showed it. | |
| files | Yes | The files to attach, as paths on this machine inside the server's home: absolute, or starting with ~/. |