Get Job Log Tool
get_job_log_toolRetrieve the trace log for a GitLab CI/CD job using its project ID or path and job ID to inspect build output and diagnose failures.
Instructions
Get the log (trace) output of a CI/CD 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_log_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job ID | |
| project_id | Yes | Project ID or path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||