browser_file_upload
Upload files to a web page by setting them on a file input, targeting a specific input via ref or selector or defaulting to the first file input.
Instructions
Upload one or more files by setting them on a file input identified by a ref (eN) or selector (defaults to 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 file paths to upload. | |
| target | No | Optional file input ref (eN) or selector to set the files on. | |
| element | No | Human-readable element description used to obtain permission to interact with the element. |