Upload files
browser_file_uploadUpload files to a page by specifying absolute paths; optionally target a file input using a CSS selector or ref, defaulting to the first input.
Instructions
Set files on a file input. Point target at the input, or omit it to use the first file input on the page.
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_file_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Absolute paths of the files to upload | |
| target | No | File input ref or CSS selector (defaults to the first file input) |