Create Postgres instance
render_create_postgresCreate a new Postgres database on Render, specifying version, plan, region, and optional settings like disk size, connection pooling, and high availability.
Instructions
Create Postgres instance. Create a new Postgres instance. Calls POST /postgres on the Render Public API. Usage: version is a major version as a string (e.g. "16"). Plans and their disk sizes come from render_list_postgres_sizes. The generated password appears only in the creation response; afterwards, read credentials with render_retrieve_postgres_connection_info.
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": {
"name": "<name>",
"ownerId": "<ownerId>",
"plan": "<plan>",
"version": "<version>"
},
"name": "render_create_postgres"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the database as it will appear in the Render Dashboard | |
| plan | Yes | ||
| region | No | Defaults to "oregon" | oregon |
| ownerId | Yes | The ID of the workspace to create the database for | |
| version | Yes | The PostgreSQL version | |
| diskSizeGB | No | The number of gigabytes of disk space to allocate for the database | |
| datadogSite | No | Datadog region to use for monitoring the new database. Defaults to 'US1'. | |
| ipAllowList | No | ||
| databaseName | No | randomly generated | |
| databaseUser | No | randomly generated | |
| readReplicas | No | ||
| datadogAPIKey | No | The Datadog API key for the Datadog agent to monitor the new database. | |
| environmentId | No | ||
| connectionPool | No | What connection pool to use (if any) out of 'pgbouncer' and 'none' | none |
| parameterOverrides | No | ||
| enableDiskAutoscaling | No | ||
| enableHighAvailability | No |