get_build_log
Retrieve the last lines of a Hydra build log or a specific build step to diagnose failures, optionally choosing an instance and tail length.
Instructions
Get the last lines of a build's log, or of one of its build steps (e.g. the failed dependency).
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": {
"build_id": "<build_id>"
},
"name": "get_build_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | Build step number from get_build; omitted = the build's own derivation | |
| build_id | Yes | ||
| instance | No | Configured Hydra instance; omitted uses the default | |
| tail_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||