create_pipeline
Create a GitLab pipeline for a specified branch or tag, passing custom variables and inputs to control execution.
Instructions
Create a new pipeline for a branch or tag
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": {
"ref": "<ref>"
},
"name": "create_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The branch or tag to run the pipeline on | |
| inputs | No | Input parameters for the pipeline (key-value pairs for spec:inputs) | |
| variables | No | An array of variables to use for the pipeline | |
| project_id | No | Project ID or URL-encoded path |