Storage Upload Request
storage_upload_requestMint a one-time uploader script for a private Storage blob (any file type).
Storage is the org's binary store: bytes go to the Railway bucket, metadata
to drive_objects. Objects stay private until a human seat calls
storage_publish (agent seats must request_gated_approval(gate=publish)).
HTML/Markdown/diagram documents still use file_upload_request.
Pass work_id and/or project_id to attach after ingest
(kind=artifact; transcripts stay on shared files).
Pass parent_id to place the file in a folder. Batch uploads are
multiple grants (one file each) — console multi-select uses sequential
ingest, not a multi-file grant.
Returns upload_url, upload_token, max_bytes, and a
self-deleting Python script. Token is single-use and expires in ~10 min.
drive_upload_request is a deprecated alias of this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Override agent identity | |
| title | Yes | Storage object title | |
| work_id | No | Attach the uploaded Storage object to this work item UUID | |
| filename | No | Optional local filename (script default path + MIME sniff) | |
| parent_id | No | Folder UUID to land the file in (omit or empty = org root). One grant per file. | |
| project_id | No | Attach the uploaded Storage object to this project UUID (kind=artifact) | |
| content_type | No | Optional MIME type hint stored on the grant | |
| upload_base_url | No | Optional server origin (e.g. https://teamshared.com). Defaults to settings.public_url. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||