Get Deployment
deployment_getReturns a single deployment's detail: the same fields as
deployments_list, plus finished, steps, recent events and the
build_logs_url/runtime_logs_url GCP Console deep links. Takes the
app_id returned by apps_list and the deployment_id returned by
deployments_list/deployment_create/deployment_rollback.
To follow a deploy to its end, pass wait_until: "finished": the call
waits up to 50 seconds for the deployment to finish, then returns its
current state. finished is true once the status is terminal
(succeeded, failed, cancelled) and a failure's error_message
is final; while it is false, call again with wait_until: "finished".
Do not sleep between calls. waited_seconds says how long this call
waited. error_message_pending is true while a failed deployment's
reason is still waiting for the container's own output.
steps lists the phases queued, build, deploy, verify, each
with status (pending, running, succeeded, failed,
skipped, cancelled), started_at, finished_at,
duration_seconds and detail (the Dockerfile instruction the build
ran last, or the phase's latest event).
events are orchestration steps and build/release/container log
lines, each with type, level, message, created_at. They come
newest first by default (order: "desc") and limit keeps the latest
ones (default 100, maximum 1000); order: "asc" returns the oldest
first. Build boilerplate (git checkout advice, Docker credential
warnings, BuildKit's builder dump and layer progress, npm update
notices) is left out and counted in boilerplate_filtered; pass
include_noise: true to get every line.
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_id": "<app_id>",
"deployment_id": "<deployment_id>"
},
"name": "deployment_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of log events to return. Default 100, maximum 1000. | |
| order | No | `desc` (default): newest events first, `limit` keeps the latest. `asc`: oldest first. | |
| app_id | Yes | The app uuid returned by `apps_list`. | |
| wait_until | No | `finished`: wait up to 50 seconds for the deployment to finish before answering. Omitted: answer at once. | |
| deployment_id | Yes | The deployment uuid returned by `deployments_list`. | |
| include_noise | No | Return build boilerplate lines too. Default false. | |
| organization_id | No | An organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app. |