browser_download_file
Click an item in the tenant's hosted browser, capture the file download, and store it as a document. Supports PDF, ZIP, Office, CSV, images and other file formats. Required: steps (same safe named actions as browser_run_flow, including a goto) and download.selector for the final clickable item. Secrets are resolved from the tenant vault. Empty files, files over 25 MB, and HTML login/error pages masquerading as downloads are rejected before storage. Optional: download.wait_ms, stealth, title, entity/entity_id. Returns document_id, filename, MIME type and size; retrieve it with get_document_link.
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": {
"steps": "<steps>",
"download": "<download>"
},
"name": "browser_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Browser actions as in browser_run_flow, including a goto | |
| title | No | Title of the stored document | |
| entity | No | Record type to file the download against; use with entity_id | |
| secrets | No | Name -> { provider, field } from the tenant vault. | |
| stealth | No | Ask the browser to reduce automation signals (does not bypass CAPTCHAs) | |
| download | Yes | Download trigger: selector of the item to click, optional wait_ms | |
| entity_id | No | ID of the record |