Browser Upload File
browser_upload_fileUpload a local file to a web page by targeting the file input or its trigger button, enabling browser automation for file submissions.
Instructions
Upload a local file. Ref may point to the file input or its trigger button.
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": {
"ref": "<ref>",
"path": "<path>"
},
"name": "browser_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| tab | No | ||
| path | Yes | ||
| session | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |