Manage Lakebase databases
manage_lakebase_databaseCreate, update, delete, and list Lakebase Postgres databases, including provisioned instances and autoscaling projects, and register them in Unity Catalog.
Instructions
Manage Lakebase (Postgres) databases.
kind='provisioned' manages database instances: list, get, create (spec = DatabaseInstance fields, e.g. {"capacity": "CU_1"}), update (spec = fields to change, e.g. {"stopped": true} or {"capacity": "CU_2"}), delete (force=true also removes point-in-time children). kind='autoscaling' manages projects: list, get, create (spec = Project fields, e.g. {"spec": {"display_name": "My app", "pg_version": 17}}), update (e.g. {"spec": {"display_name": "x"}}), delete (soft unless purge=true), undelete, get_operation. Catalog actions register a Postgres database in Unity Catalog: list_catalogs (provisioned, name = instance), get_catalog, create_catalog (catalog_name, database_name, name/branch), delete_catalog. Compute is billed; long-running work returns status 'pending' unless wait_seconds is set.
Safety classification: list, get, get_operation, list_catalogs, get_catalog = READ_ONLY; create, update, undelete, create_catalog = WRITE; delete, delete_catalog = DESTRUCTIVE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | provisioned: Lakebase database instances (w.database). autoscaling: Lakebase autoscaling projects/branches/endpoints (w.postgres). | provisioned |
| name | No | provisioned: database instance name. autoscaling: project id or 'projects/<id>'. | |
| spec | No | Request body fields for create/update, using the Databricks REST API field names (snake_case). Unknown fields are rejected. | |
| force | No | provisioned delete: also delete descendant point-in-time instances (otherwise the delete is rejected if any exist). | |
| purge | No | autoscaling delete: hard delete (irreversible). Default is a soft delete restorable with action='undelete'. | |
| action | Yes | Operation to perform. *_catalog actions register/unregister a Lakebase Postgres database as a Unity Catalog catalog. | |
| branch | No | autoscaling create_catalog: branch id or full branch name (default: the project's default branch). | |
| confirm | No | Set to true ONLY after the user has reviewed the plan returned by a previous call with status 'confirmation_required'. Required for destructive/security-sensitive actions. | |
| dry_run | No | If true, validate and return the planned change without executing it. | |
| page_size | No | Max items to return (server caps this). | |
| page_token | No | next_page_token from a previous response. | |
| update_mask | No | Comma-separated field paths to update. Default: derived from the keys of `spec` (autoscaling resources use 'spec.<field>' paths). | |
| catalog_name | No | Unity Catalog catalog name for *_catalog actions. | |
| show_deleted | No | autoscaling list: include soft-deleted projects. | |
| wait_seconds | No | Seconds to wait for a long-running create/update/delete to finish. 0 (default) returns immediately with status 'pending'. Capped by DBX_MCP_MAX_WAIT_SECONDS and the tool timeout. | |
| database_name | No | create_catalog: Postgres database to register. | |
| operation_name | No | Autoscaling operation name returned by a previous call (for action='get_operation'). | |
| create_database_if_missing | No | create_catalog: create the Postgres database if it does not exist. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| page | No | ||
| plan | No | ||
| tool | Yes | ||
| action | No | ||
| safety | No | ||
| status | No | success | |
| summary | Yes | ||
| warnings | No | ||
| next_steps | No | Suggested follow-up calls. | |
| request_id | No |