aggregate-ci-pipelines
Aggregate CI/CD pipeline data using statistical computations such as count, average, sum, min, max, and percentiles, with optional grouping by pipeline name or status.
Instructions
Aggregate CI/CD pipeline data with statistical computations and grouping
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": {
"from": "<from>",
"to": "<to>",
"aggregation": "<aggregation>"
},
"name": "aggregate-ci-pipelines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | CI pipeline search query for aggregation | * |
| from | Yes | Start time (ISO 8601 or relative) | |
| to | Yes | End time (ISO 8601 or relative) | |
| aggregation | Yes | Aggregation type | |
| metric | No | Metric to aggregate on (required for avg/sum/min/max/percentiles). Example: @duration | |
| groupBy | No | Field to group results by. Example: @ci.pipeline.name, @ci.status |