list_targets
Retrieve active Prometheus scrape targets, optionally filtered by health state or target name, to diagnose monitoring coverage and identify unreachable endpoints.
Instructions
[READ] Active scrape targets, optionally filtered by health (up/down).
Args: health: Filter by health state ("up" or "down"); omit for all. 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": "list_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| health | No | ||
| target | No |