job_trace_tail
Fetch the tail of a CI job's trace to identify the root cause of a pipeline failure, with truncation flags to know if earlier lines were omitted.
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 |