| name | gitlab-pipeline-schedules |
| description | Manages GitLab pipeline schedules. Use for creating, editing, running scheduled pipelines. Triggers: cron jobs, automation. |
Overview
Covers scheduled CI.
Available Tools
get_pipeline_schedules: Retrieve a list of pipeline schedules for a specific GitLab project.- Parameters:
project_id(str): Optional. - Project ID or path
- Parameters:
get_pipeline_schedule: Retrieve details of a specific pipeline schedule in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathpipeline_schedule_id(int): Optional. - Pipeline schedule ID
- Parameters:
get_pipelines_triggered_from_schedule: Retrieve pipelines triggered by a specific pipeline schedule in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathpipeline_schedule_id(int): Optional. - Pipeline schedule ID
- Parameters:
create_pipeline_schedule: Create a pipeline schedule for a specific GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathdescription(Optional[str]): Optional. - Description of the pipeline scheduleref(str): Optional. - Reference (e.g., branch or tag) for the pipelinecron(str): Optional. - Cron expression defining the schedule (e.g., '0 0 * * *')cron_timezone(Optional[str]): Optional. - Timezone for the cron schedule (e.g., 'UTC')active(Optional[bool]): Optional. - Whether the schedule is activectx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
edit_pipeline_schedule: Edit a pipeline schedule in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathpipeline_schedule_id(int): Optional. - Pipeline schedule IDdescription(Optional[str]): Optional. - New description of the pipeline scheduleref(Optional[str]): Optional. - New reference (e.g., branch or tag) for the pipelinecron(Optional[str]): Optional. - New cron expression for the schedule (e.g., '0 0 * * *')cron_timezone(Optional[str]): Optional. - New timezone for the cron schedule (e.g., 'UTC')active(Optional[bool]): Optional. - Whether the schedule is activectx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
take_pipeline_schedule_ownership: Take ownership of a pipeline schedule in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathpipeline_schedule_id(int): Optional. - Pipeline schedule IDctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
delete_pipeline_schedule: Delete a pipeline schedule in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathpipeline_schedule_id(int): Optional. - Pipeline schedule IDctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
run_pipeline_schedule: Run a pipeline schedule immediately in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathpipeline_schedule_id(int): Optional. - Pipeline schedule IDctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
create_pipeline_schedule_variable: Create a variable for a pipeline schedule in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathpipeline_schedule_id(int): Optional. - Pipeline schedule IDkey(str): Optional. - Key of the variablevalue(str): Optional. - Value of the variablevariable_type(Optional[str]): Optional. - Type of variable (e.g., 'env_var')ctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
delete_pipeline_schedule_variable: Delete a variable from a pipeline schedule in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathpipeline_schedule_id(int): Optional. - Pipeline schedule IDkey(str): Optional. - Key of the variable to deletectx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
Usage Instructions
- Cron format for schedules.
Examples
- Create:
create_pipeline_schedulewith project_id="123", ref="main", cron="0 0 * * *". - Run:
run_pipeline_schedulewith pipeline_schedule_id=1.
Error Handling
- Invalid cron: Validate format.