gitlab_get_job
Retrieve the current status of a GitLab CI job using its numeric ID. Optionally specify the project path to scope the query.
Instructions
Get the current status of a GitLab CI job by ID.
Args: job_id: The numeric job ID (visible in the GitLab UI URL). project_path: GitLab project path, e.g. 'group/project'. Defaults to GITLAB_DEFAULT_PROJECT env var if not provided.
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>"
},
"name": "gitlab_get_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |