Get monitor uptime
vs_monitors_uptimeFetch the uptime percentage and time-series breakdown for a monitor. Use window for a preset window (24h, 7d, 30d, 90d, 365d; default 30d), supply both from and to (ISO 8601) for a custom date range, or set all: true for the full available history.
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": {
"id": "<id>"
},
"name": "vs_monitors_uptime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Monitor id. | |
| to | No | ISO 8601 end of a custom range. Must be supplied with `from`. | |
| all | No | Return the full available history from the earliest stored data. Takes precedence over from/to and window. | |
| from | No | ISO 8601 start of a custom range (e.g. 2026-01-01T00:00:00Z). Must be supplied with `to`. | |
| window | No | Preset window: 1h, 6h, 24h, 7d, 30d, 90d, 365d. Default 30d. Ignored when from+to or all are supplied. |