get_job_artifact_file
Retrieve a file's content from a GitLab job's artifacts by specifying the artifact path, job ID, and project ID.
Instructions
Get the content of a single file from a job's artifacts by its path within the 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": {
"artifact_path": "<artifact_path>"
},
"name": "get_job_artifact_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | The ID of the job | |
| project_id | No | Project ID or URL-encoded path | |
| artifact_path | Yes | Path to the file within the artifacts archive |