browser_file_upload
Upload one or multiple files to a web page using Playwright MCP. Input absolute file paths to enable browser automation for file upload tasks.
Instructions
Upload one or multiple files
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 | The absolute paths to the files to upload. Can be a single file or multiple files. |