create_database
Create Database
Create a new Prisma Postgres database within an existing project. The database will be provisioned in the specified region and connection details will be returned.
create_database
Create a new Prisma Postgres database within an existing project. The database will be provisioned in the specified region and connection details will be returned.
create_connection
Create a new connection string for a Prisma Postgres database. This generates new credentials that can be used to connect to the database.
get_project
Retrieve details of a specific project by its ID, including its associated databases and their connection information.
list_databases
List all Prisma Postgres databases accessible to the authenticated user across all workspaces and projects. Returns database metadata including name, region, status, and connection details.
transfer_project
Transfer a project (including all its databases) to another user's workspace. The recipient must have provided an OAuth access token that grants workspace access. This is typically used in partner provisioning flows.
delete_connection
Delete a connection string from a Prisma Postgres database. Any applications using this connection will lose access.
list_workspaces
List all workspaces accessible to the authenticated user. Workspaces are organizational containers for projects and databases on the Prisma Data Platform.
get_database_usage
Retrieve usage statistics for a Prisma Postgres database including query counts, storage consumption, and egress metrics.
get_database
Retrieve detailed information about a specific Prisma Postgres database, including its connection strings, direct connection credentials, endpoints, and project association.
create_project
Create a new project with a default Prisma Postgres database. A project is a container for databases. When a region is provided, a default database is automatically provisioned in that region.
list_connections
List all connection strings and credentials for a specific Prisma Postgres database. Includes direct, pooled, and Accelerate connection endpoints.
delete_database
Permanently delete a Prisma Postgres database. This action is irreversible and will destroy all data, connections, and backups associated with the database.
get_database_backups
Retrieve backup information for a Prisma Postgres database. Lists all available backups with their status and metadata.
Provision and manage PostgreSQL databases, projects, and workspaces on the Prisma Data Platform. Create and delete Prisma Postgres databases in specified regions, retrieve connection details (pooled, direct, and Accelerate endpoints), manage database backups, and monitor usage statistics. Organize resources through workspaces and projects, transfer database ownership to other users, and manage OAuth integrations. Stream real-time database change events (create, update, delete) via Prisma Pulse for building reactive applications.
Common questions about connecting Prisma to AI agents with Metorial.