Get job artifact file
get_job_artifact_fileDownload a file from a GitLab job artifact archive as base64, with a configurable size limit to prevent oversized transfers.
Instructions
Download one file from a GitLab job artifact archive as base64, subject to a strict size limit.
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": {
"project": "<project>",
"job_id": "<job_id>",
"artifact_path": "<artifact_path>"
},
"name": "get_job_artifact_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| project | Yes | GitLab project ID or full path such as group/project. | |
| max_bytes | No | ||
| artifact_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |