Storage Publish
storage_publishPublish a Storage object and return a presigned bucket GET URL.
Idempotent: returns the existing token if already published. Does not
re-upload bytes (they already live in the bucket). Agents should use
signed_url (TTL TEAMSHARED_STORAGE_SIGNED_URL_TTL_SECONDS,
default 3600s) plus signed_url_expires_in /
signed_url_expires_at. share_url / public_url remain the
durable /d/{share_token} fallback for console/humans — not
/s/{slug} (shared-file HTML). Fails closed if the object-storage
bucket is unconfigured (cannot mint a signed URL).
Agent seats (org tsk_ / agent_run) are refused — call
request_gated_approval(gate="publish") instead. Console humans
(ts_session) still publish. After the approval child is done, a
human seat calls this tool (same completion path as file_publish).
drive_publish is a deprecated alias of this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Storage object UUID to publish |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||