wb_upload
Upload local files to a visible file input by providing absolute filesystem paths. Requires the page to display an element.
Instructions
Set files on a file input element. files must be absolute local filesystem paths (not http/data URLs). Page must already show .
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": "wb_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Absolute local filesystem paths only | |
| session | No | Per-call session override (does not change the process default) | |
| selector | Yes |