Deploy
deployStart a deploy into an existing running service: from an uploaded archive (uploadId, after its PUT), or archive as the base64 of a gzip tar for a tiny project under 1 MiB. Returns the deploy id; the deploy runs on its own. The service must already exist; a project with no server yet is ordered, not deployed.
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": {
"serviceId": "<serviceId>"
},
"name": "deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive | No | base64 of a small .tgz (under 1 MiB); a larger project comes as uploadId | |
| uploadId | No | the upload id, after its PUT | |
| preflight | No | the pre-flight report of the checks run on the person's machine; required: the call refuses without a passing one | |
| serviceId | Yes | the id of a service on this account |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |