Create bundle upload
create_bundle_uploadStart a bundle upload for a site too big to inline (a multi-file or media-heavy app, e.g. a built React site), or for a single file (Markdown, a notebook, a PDF, a .docx, .pptx or .xlsx, an image, a video, an audio, a CSV, a Mermaid diagram or a text file, sent as it is under its filename, given here once). Returns an upload_id to send the bytes against, then publish_site or update_site with that upload_id instead of html/zipBase64. Two ways to send it. Send it with upload_bundle_part, one numbered part per call: that is a tool call on this connection, so it works from any client that can call this tool at all, including a sandbox with no network of its own. Or PUT the .zip to upload_url (HTTP PUT, Content-Type application/zip; above max_part_bytes, to upload_url/parts/0, /parts/1, ... in order), which is fewer, larger requests when your shell can reach that host; storage_url is the same PUT straight to the storage host, one request at any size. Your tool calls and your shell do not share a network: a PUT that is refused (a 403 naming the host, or a connection that never leaves) says nothing about upload_bundle_part, so switch to it rather than asking the owner to change any network settings. The upload is single-use and expires; request a new one if it lapses. It belongs to the workspace this call acts in: pass the same workspace_id to every upload_bundle_part and to the publish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | The single file's own name with its extension (`report.pdf`, `talk.mp4`), when the upload is one non-zip file rather than a .zip. The upload then remembers it: the parts and the publish need not repeat it. Omit for a .zip. | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |