CI/CD validate pipeline YAML
cicd_validate_pipeline_yamlValidate an Ankra pipeline definition (.ankra/pipeline.yaml) before proposing or committing it - the twin of cicd_validate_workflow_yaml for the definition that replaces the GitHub Actions workflow. Returns a severity ('ok', 'warn' or 'fatal'), the violations with their classifier key and message, and what the pipeline declares: its name, its stage names in declaration order, and its trigger events. A 'fatal' severity means the pipeline cannot be planned and must be fixed before it is committed; unreadable YAML comes back as a fatal violation rather than a tool error. Read-only over the text you pass it.
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": {
"pipeline_yaml": "<pipeline_yaml>"
},
"name": "cicd_validate_pipeline_yaml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipeline_yaml | Yes | The full contents of the .ankra/pipeline.yaml document to validate. |