start_database
Start a database in Coolify self-hosted PaaS to activate database services for applications. Provide the database UUID to initiate the startup process.
Instructions
Start a database
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Database UUID |
Implementation Reference
- src/tools/handlers.ts:403-405 (handler)The handler case for 'start_database' tool. It requires a 'uuid' parameter and makes a GET request to the Coolify API endpoint `/databases/${uuid}/start` to start the database.case 'start_database': requireParam(args, 'uuid'); return client.get(`/databases/${args.uuid}/start`);
- src/tools/definitions.ts:1097-1104 (schema)The input schema definition for the 'start_database' tool, specifying that it requires a 'uuid' string parameter.{ name: 'start_database', description: 'Start a database', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Database UUID' } }, required: ['uuid'] }
- src/tools/definitions.ts:1201-1206 (registration)The getToolDefinitions function registers all tools including 'start_database' by returning the array of tool definitions used by the MCP server.export function getToolDefinitions() { if (isReadOnlyMode()) { return allToolDefinitions.filter(tool => READ_ONLY_TOOLS.includes(tool.name)); } return allToolDefinitions; }
- src/tools/index.ts:1-2 (registration)Index file exporting the tool definitions and handler function for registration in the MCP protocol.export { toolDefinitions, getToolDefinitions, isReadOnlyMode, READ_ONLY_TOOLS } from './definitions.js'; export { handleTool } from './handlers.js';