Deploy a release to an environment
deploy_releaseDeploy a cut RELEASE to an ENVIRONMENT (env: prod | staging | canary | any [a-z0-9-]). 'prod' deploys the app's canonical id; another env deploys a derived '{app}-{env}' with its OWN subdomain, record, and instances (so staging and prod run side by side). The platform runs it AND advances the environment's audit log. It runs as a durable operation (the attested build, the deploy, then the environment's pointer as its LAST step), so a large application's gates never hold the call: it returns BuildStarted{build_id} at once; poll build_status -- deployed once the environment's pointer names the release (with the host and generation), pointer_denied if the environment's deploy authority refused the advance (the application still deployed). Do NOT resubmit while it is building.
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": {
"app": "<app>",
"env": "<env>",
"release": "<release>"
},
"name": "deploy_release"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| env | Yes | ||
| token | No | fallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused | |
| release | Yes | ||
| instances | No |