browser_upload_click
Clicks a file button at given CSS coordinates and hands files to Chrome's file chooser, enabling uploads when DOM selectors aren't available.
Instructions
Presses the file button at CSS coordinates from a recent screenshot and hands files to the Chrome file chooser. Available in normal without DOM selectors. Replaces the previous selection; may start the upload; does not press an additional publish button. If it fails, check the page before repeating the click.
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": {
"tabId": "<tabId>",
"x": "<x>",
"y": "<y>",
"files": "<files>"
},
"name": "browser_upload_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| files | Yes | ||
| tabId | Yes |