Get job log
gitlab_get_job_logDownloads the trace/log of a CI job from GitLab to identify why a pipeline failed. Returns the last part of the log by default.
Instructions
Downloads the trace/log of a CI job — the fastest way to find out why a pipeline failed. Returns the tail by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| project_id | No | Project id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID. | |
| tail_chars | No | Return only the last N characters (default 20000) |