get_job_logs
Retrieve the log file of a specific job in a GitLab project by providing the project ID and job ID.
Instructions
Get the log (trace) file of a specific job
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_id": "<project_id>",
"job_id": "<job_id>"
},
"name": "get_job_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job ID | |
| project_id | Yes | Project ID or path |