get_job_artifact_file
Download and read a specific file from a GitLab job's build artifacts archive by project, job, and artifact path, with a max length limit.
Instructions
Download and read a specific file from a job's build artifacts archive
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Numeric ID of the job that generated the artifact | |
| max_length | Yes | Maximum character length to return (default: 10000, 0 for unlimited) | |
| project_id | Yes | Project numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically. | |
| artifact_path | Yes | Relative path to the file in the artifact archive (e.g. 'coverage/report.json' or 'dist/index.html') |