build_get_bundle
Returns the current (or a given version's) published bundle: the file list and a signed download_url, or one file's content with file=. Inputs: project_uuid, optional version_uuid, file, offset, max_bytes. A file= answer carries the file's byte count and sha256, so a cut or empty read can be detected; files over ~20KB are read in pages (offset, max_bytes=20000, then next_offset until more is false). A change to an existing app starts from these files: re-authoring from scratch drops the hand-written ui/app.js and every earlier fix.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_uuid": "<project_uuid>"
},
"name": "build_get_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional app-root-relative path (e.g. 'ui/app.js') to return that single file's content inline (~120KB cap, truncated with a note). | |
| offset | No | Optional, with file=: byte offset to read from (start at 0, then pass the returned next_offset). | |
| max_bytes | No | Optional, with file=: page size in bytes (4096-122880). Pages end on a line or character boundary, so a page can be a little shorter. | |
| project_uuid | Yes | Project UUID (from build_list_projects or build_create_project). | |
| version_uuid | No | Default: latest published version. |