gitlab_list_job_artifacts
Lists files in a GitLab CI/CD job's artifact archive with each file's relative path, type, and size, so you can inspect what the job produced.
Instructions
List relative paths, types, and sizes of files in one job's artifacts archive.
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": {
"job_id": "<job_id>",
"project_path": "<project_path>"
},
"name": "gitlab_list_job_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Positive numeric GitLab job ID. | |
| project_path | Yes | GitLab project path (e.g. 'my-org/my-repo'). Required by default. For legacy deployments only, set GITLAB_ALLOW_DEFAULT_PROJECT=true to use GITLAB_PROJECT_PATH when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| job_id | Yes | ||
| source | Yes | ||
| project | Yes | ||
| artifacts | Yes | ||
| unsafe_entries_omitted | Yes |