get_build_logs
Retrieve a deployment's status, error message, and recent build log lines; omit deployment_id to read the project's latest deployment and use after_id to follow an in-progress build.
Instructions
Get a deployment's status, error message and build log lines.
Without deployment_id, reads the project's latest deployment. To follow a build in progress, call again with after_id set to the cursor returned. Only the last max_lines lines are returned.
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": {
"project_id": "<project_id>"
},
"name": "get_build_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after_id | No | ||
| max_lines | No | ||
| project_id | Yes | ||
| deployment_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |