Get disk capacity
render_get_disk_capacityRetrieve persistent disk capacity metrics for Render services, Postgres, and Redis to monitor usage.
Instructions
Get disk capacity. Get persistent disk capacity for one or more resources. Calls GET /metrics/disk-capacity on the Render Public API.
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": "render_get_disk_capacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | No | Epoch/Unix timestamp of end of time range to return. Defaults to `now()`. | |
| service | No | This parameter is deprecated. Please use `resource` instead (deprecated) | |
| resource | No | Resource ID to query. When multiple resource query params are provided, they are ORed together. Resources can be service ids, Postgres ids, or Redis ids | |
| startTime | No | Epoch/Unix timestamp of start of time range to return. Defaults to `now() - 1 hour`. | |
| resolutionSeconds | No | The resolution of the returned data |