Read build logs
logs.buildRead bounded build, clone, test, and image-push logs for an authorized deployment.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 200,
"since": "2026-07-20T12:00:00Z",
"deployment_id": "deployment-id"
},
"name": "logs.build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | maximum entries from 1 to 500 | |
| since | No | RFC3339 timestamp; defaults to one hour ago | |
| deployment_id | Yes | deployment identifier | |
| organization_id | No | organization membership to use for this call; omit only when the account has one current membership |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logs | Yes |