update_application_envs_bulk
Update multiple environment variables for an application simultaneously to manage configurations efficiently in Coolify's self-hosted PaaS.
Instructions
Update multiple environment variables for an application in bulk
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Application UUID | |
| data | Yes | Array of environment variables to update |
Implementation Reference
- src/tools/handlers.ts:287-290 (handler)The core handler logic for the 'update_application_envs_bulk' tool. It validates required parameters 'uuid' and 'data', then calls the CoolifyClient to PATCH the bulk environment variables endpoint.case 'update_application_envs_bulk': requireParam(args, 'uuid'); requireParam(args, 'data'); return client.patch(`/applications/${args.uuid}/envs/bulk`, { data: args.data });
- src/tools/definitions.ts:923-948 (schema)The input schema and description for the 'update_application_envs_bulk' tool, defining the expected parameters and structure for bulk environment variable updates.{ name: 'update_application_envs_bulk', description: 'Update multiple environment variables for an application in bulk', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Application UUID' }, data: { type: 'array', description: 'Array of environment variables to update', items: { type: 'object', properties: { key: { type: 'string', description: 'Environment variable key' }, value: { type: 'string', description: 'Environment variable value' }, is_preview: { type: 'boolean', description: 'Use in preview deployments' }, is_literal: { type: 'boolean', description: 'Is literal value' }, is_multiline: { type: 'boolean', description: 'Is multiline value' } }, required: ['key', 'value'] } } }, required: ['uuid', 'data'] } },