create_pipeline
Trigger a new pipeline in a GitLab project by specifying the project ID and a branch or tag, with optional variables for customization.
Instructions
Create a new pipeline
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": {
"project_id": "<project_id>",
"ref": "<ref>"
},
"name": "create_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Branch or tag name | |
| variables | No | Pipeline variables | |
| project_id | Yes | Project ID or path |