gitlab_poll_job
Poll a GitLab CI job until terminal state, with configurable interval and timeout, then return the final status.
Instructions
Poll a GitLab CI job until it reaches a terminal state.
Checks every interval_seconds and gives up after timeout_minutes. Returns the final job status summary.
Args: job_id: The numeric job ID. project_path: GitLab project path, e.g. 'group/project'. interval_seconds: How often to poll (default 30s). timeout_minutes: Stop polling after this many minutes (default 30).
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_poll_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| project_path | No | ||
| timeout_minutes | No | ||
| interval_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |