Get build logs
get_build_logsPer-step build log output for a deployment (by job_id), used to diagnose a failed build. Defaults to the latest attempt; optionally target a specific attempt_id.
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": {
"job_id": "<job_id>"
},
"name": "get_build_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | the deployment job id (from list_deployments) | |
| attempt_id | No | optional specific attempt id; defaults to the latest attempt |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| job_id | Yes | ||
| attempt_id | Yes |