Skip to main content
Glama

delete_database

Remove a database from Coolify self-hosted PaaS instances. Specify the database UUID and confirm when required by security settings.

Instructions

Delete a database. When COOLIFY_REQUIRE_CONFIRM=true, requires confirm: true parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesDatabase UUID
confirmNoConfirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true)

Implementation Reference

  • The switch case handler for the 'delete_database' tool. It requires a 'uuid' parameter and sends a DELETE request to the Coolify API endpoint `/databases/${uuid}` to delete the database.
    case 'delete_database': requireParam(args, 'uuid'); return client.delete(`/databases/${args.uuid}`);
  • The input schema and description for the 'delete_database' tool, defining the required 'uuid' parameter and optional 'confirm' boolean for dangerous operations.
    { name: 'delete_database', description: 'Delete a database. When COOLIFY_REQUIRE_CONFIRM=true, requires confirm: true parameter.', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Database UUID' }, confirm: { type: 'boolean', description: 'Confirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true)' } }, required: ['uuid'] } },
  • Danger warning message used by the confirmation check for the 'delete_database' tool.
    delete_database: 'This will permanently delete the database and all its data.',
  • The 'delete_database' tool is registered as a dangerous operation requiring confirmation via the DANGEROUS_OPERATIONS array.
    'delete_database', 'delete_private_key', 'delete_github_app', 'cancel_deployment' ];
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kof70/coolify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server