Prometheus: Request
prometheus_requestSends read-only GET requests to uncovered Prometheus /api/v1 endpoints and returns raw response data, truncated to a configurable character limit.
Instructions
Escape hatch: GET any /api/v1 endpoint the other tools do not wrap — /api/v1/query_exemplars, /api/v1/targets/metadata, /api/v1/alertmanagers, /api/v1/format_query, /api/v1/status/walreplay. The answer is the raw data of the envelope, unshaped, cut at max_chars. Read-only: only GET is ever sent. Prefer the named tools, which shape their output; this one can return megabytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | API path, starting with /api/v1/, e.g. "/api/v1/format_query". | |
| params | No | Query parameters. A repeated parameter is an array: {"match[]": ["up", "process_start_time_seconds"]}. | |
| max_chars | No | Cut the serialized answer at this many characters (100-200000). Defaults to 20000. |