reload_prometheus_config
Hot-reload Prometheus configuration on a target without restarting. Use dry-run to preview the current config hash before applying changes.
Instructions
[WRITE][risk=medium] Hot-reload the Prometheus config (POST /-/reload). No undo.
Records the pre-reload config hash. Rollback = re-apply the prior config file.
Args: dry_run: If True, preview (reports the current config hash) without reloading. target: Prometheus target name from config; omit for the default.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reload_prometheus_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No |