job_trace_tail
Fetch the tail of a job's trace to pinpoint the error. Returns the most recent log lines plus truncation flags, so you can raise tail_lines if the first failure may lie above the window.
Instructions
[READ] The tail of one job's log/trace — where the failure explains itself.
Returns {project, job, trace, totalLines, tailLines, returned, limit, truncated, charsTruncated}. 'truncated' true means earlier lines were dropped (the trace is only the tail — the FIRST error may be above the window, so raise tail_lines before concluding a root cause); 'charsTruncated' true means the tail itself hit the byte ceiling.
Args: project: Project id or full path. job: Job id (from pipeline_jobs). tail_lines: How many trailing lines to return (default 60). target: Server target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | ||
| target | No | ||
| project | Yes | ||
| tail_lines | No |