browser_file_upload
Upload one or more files to a file input or trigger the next file chooser in a browser session. Provide absolute paths and target the input by snapshot ref or element description.
Instructions
Upload one or more files to a file input or trigger the next file chooser.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_file_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional snapshot ref of an <input type='file'> or button that opens a file chooser. | |
| paths | No | Absolute file paths to upload. Omit to cancel/clear. | |
| element | No | Human-readable description of the file input/button. | |
| sessionId | No | Optional target browser session ID. If omitted, uses the currently active session (or auto-launches one). |