update_database
Modify database configurations in Coolify by updating its name and description using the database's unique identifier.
Instructions
Update a database
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Database UUID | |
| name | No | Database name | |
| description | No | Database description |
Implementation Reference
- src/tools/handlers.ts:395-397 (handler)The switch case implementing the 'update_database' tool handler. It requires a 'uuid' parameter and sends a PATCH request to the Coolify API endpoint `/databases/${uuid}` with the provided arguments.case 'update_database': requireParam(args, 'uuid'); return client.patch(`/databases/${args.uuid}`, args);
- src/tools/definitions.ts:1072-1084 (schema)The tool definition object in the allToolDefinitions array, including name, description, and inputSchema for 'update_database'.{ name: 'update_database', description: 'Update a database', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Database UUID' }, name: { type: 'string', description: 'Database name' }, description: { type: 'string', description: 'Database description' } }, required: ['uuid'] } },