start_pipeline
Trigger a project's CI/CD pipeline on a chosen branch or tag, with support for custom variables.
Instructions
Start a new CI/CD pipeline execution. Defaults to the project's default branch. Specify refName for a different branch or tag (set isTag=true for tags). Can pass custom variables. Requires .gitflic-ci.yaml and a registered runner.
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": {
"owner": "<owner>",
"project": "<project>"
},
"name": "start_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isTag | No | Set to true if refName is a tag (required when refName is set) | |
| owner | Yes | Project owner alias | |
| project | Yes | Project alias | |
| refName | No | Branch or tag name (default branch if omitted) | |
| variables | No | Pipeline variables to pass |