requestFileUpload
Request human file selection in extension-owned UI for one current input[type=file]. Requires a work session; never accepts an arbitrary local path. Selection and attaching are separate from submitting the destination form.
API 2.3.3 · Published service contract ↗
Usage
Use the typed read or action tool permitted by the selected Pass documentation. Operation: requestFileUpload. 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 |
|---|---|---|---|
| selector | string | ✓ | |
| workSessionId | string | ✓ |
{
"type": "object",
"properties": {
"selector": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"workSessionId": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"selector",
"workSessionId"
],
"additionalProperties": false
}Output
Output is operation- and device-dependent. Read the selected Pass’s current documentation and inspect the returned envelope.