pg_database_size
Retrieve the disk space usage of every database in a PostgreSQL server to monitor storage and plan capacity.
Instructions
Show size of all databases.
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": {
"target": "<target>"
},
"name": "pg_database_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target name from ~/.dbx/targets/ |