create_silence
Create a time-boxed Alertmanager silence to mute matching alerts for a set number of minutes, with optional dry-run preview and reason comment.
Instructions
[WRITE][risk=medium] Create a time-boxed Alertmanager silence. Inverse: expire_silence.
Args: matchers: List of {name, value, isRegex?} to match alerts to silence. minutes: Silence duration in minutes (must be > 0; silences are time-boxed). comment: Reason recorded on the silence. dry_run: If True, preview without creating. target: Prometheus target (its Alertmanager); omit for the default.
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": {
"matchers": "<matchers>"
},
"name": "create_silence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| comment | No | silenced via observability-aiops | |
| dry_run | No | ||
| minutes | No | ||
| matchers | Yes |