Create a Postgres Database
create_databaseCreate a managed Postgres database in this workspace (Kaiva Cloud), with an MCP server over its tables set up as a DRAFT.
The database is made at once and is empty. Each table later added becomes a tool, unexposed: nothing becomes callable until a human reviews the tools and publishes in the console. This tool cannot publish. The database's connection string is never returned here, so it never enters a conversation: a person gets it in the console. Counts toward the workspace's plan.
Returns the database id, its state and a console link to finish. Use when someone wants a new database for an app or an agent.
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>"
},
"name": "create_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name for the database, e.g. "shop". Unique in the workspace. |