browser_upload
Upload one or more files to a web page's file input by targeting it with a CSS selector and providing absolute file paths.
Instructions
Upload one or more files to a file input element. Use the CSS selector to target the input and provide absolute file paths.
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": {
"selector": "<selector>",
"files": "<files>"
},
"name": "browser_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Absolute path(s) to the file(s) to upload | |
| selector | Yes | CSS selector for the file input element |