deploy_finalize
Finalize a deploy by submitting the versionId and ETag completions for each multipart upload part. Returns the live site URL.
Instructions
Commit a deploy started with deploy_create_upload. Pass the versionId from the start response and a completions array containing the agent-collected ETags for each multi-part file (single-part uploads - those whose start response had an empty uploadId - do not need a completion entry). Returns the live site URL on success. The site must belong to the authenticated user; bearer-token auth is re-validated server-side, so holding presigned URLs alone does not let an unrelated caller finalize.
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": {
"siteId": "<siteId>",
"versionId": "<versionId>"
},
"name": "deploy_finalize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The site ID being deployed to (must match the start call). | |
| partition | No | Data partition the site lives in. Omit to use the user's home partition. | |
| versionId | Yes | The `versionId` returned by `deploy_create_upload`. | |
| completions | No | Completions for multi-part uploads. Omit or pass an empty array if every file was single-part. |