Wait for Job
gitlab_wait_for_jobPolls a GitLab job until it reaches a final status or the timeout elapses, returning the last status so you can wait for completion without manual checks.
Instructions
Poll a job until it reaches success, failed, canceled, skipped, or manual, or until timeout_seconds (default 60, max 300) elapses. Returns completed=false with the last status on timeout; call again to keep waiting.
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_wait_for_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| project_id | No | ||
| timeout_seconds | No | ||
| poll_interval_seconds | No |