Attach files
browser_file_uploadAttach files through a file input, or the button that opens a file chooser, by ref: each file is {name, url} (public http/https) or {name, content_base64}. Up to 10 files, 5 MB each, 2 MB inline in total.
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>",
"files": "<files>"
},
"name": "browser_file_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref, e.g. 'e12'. | |
| files | Yes | Files to attach, in order. | |
| tab_id | No | A result's tab_id. | |
| session_id | No | Only with several sessions. |