instant-query
Run an instant PromQL query against Prometheus to retrieve metric values at a single point in time.
Instructions
Execute an instant Prometheus query
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": {
"query": "<query>"
},
"name": "instant-query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Evaluation timestamp (RFC3339 or Unix timestamp) | |
| query | Yes | PromQL query expression | |
| timeout | No | Evaluation timeout (e.g. '30s') |