Read job logs
agy_logsRead job logs in raw events, normalized lines, or stderr format, using byte cursor or tail to access specific sections and diagnose issues.
Instructions
Read raw events, normalized human-readable lines, or stderr for a job, by byte cursor or tail.
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": "agy_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| stream | No | events = raw NDJSON, normalized = one readable line per meaningful step. Defaults to normalized. | |
| max_bytes | No | ||
| tail_lines | No | Last N lines. Mutually exclusive with after_cursor. | |
| after_cursor | No | Byte offset from a previous call. Mutually exclusive with tail_lines. |