download
Download an HTTP(S) URL to a relative filename in Chrome’s download directory. Does not read arbitrary local files.
API 2.3.3 · Published service contract ↗
Usage
Use the typed read or action tool permitted by the selected Pass documentation. Operation: download. A target tabId is required.
Use sym_pass_docs for the chosen Pass. Only its live supported operations and current capabilityRevision are callable.
Operation arguments
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | ✓ | |
| filename | string | ✓ | |
| workSessionId | string | × |
{
"type": "object",
"properties": {
"url": {
"type": "string",
"minLength": 1,
"maxLength": 8192
},
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 240
},
"workSessionId": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"url",
"filename"
],
"additionalProperties": false
}Output
Output is operation- and device-dependent. Read the selected Pass’s current documentation and inspect the returned envelope.