Gitlab Graphql Ops Create Pipeline
gitlab_graphql_ops_create_pipelineCreates a GitLab CI/CD pipeline via GraphQL for a project and ref, with optional pipeline variables.
Instructions
Create a pipeline through GraphQL.
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": "gitlab_graphql_ops_create_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Branch, tag or SHA to run the pipeline on. | |
| variables | No | Pipeline variables. | |
| project_id | Yes | Project id or full path. |