query_instant
Run a PromQL instant query to retrieve the current value of metrics at a specified evaluation time or the current time.
Instructions
Execute a PromQL instant query to get the current value of metrics
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": "query_instant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Evaluation timestamp (RFC3339 or Unix timestamp). Default: current time | |
| query | Yes | PromQL query expression |