Skip to main content
Glama

delete_service_env

Remove an environment variable from a service in Coolify to manage application configuration and maintain clean deployment settings.

Instructions

Delete an environment variable from a service

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesService UUID
env_uuidYesEnvironment variable UUID

Implementation Reference

  • The handler case in the main handleTool switch statement that validates required parameters (service uuid and env_uuid) and calls the Coolify client DELETE endpoint to remove the specified service environment variable.
    case 'delete_service_env':
      requireParam(args, 'uuid');
      requireParam(args, 'env_uuid');
      return client.delete(`/services/${args.uuid}/envs/${args.env_uuid}`);
  • Tool schema definition including name, description, and inputSchema specifying the required parameters for deleting a service environment variable.
    {
      name: 'delete_service_env',
      description: 'Delete an environment variable from a service',
      inputSchema: {
        type: 'object',
        properties: {
          uuid: { type: 'string', description: 'Service UUID' },
          env_uuid: { type: 'string', description: 'Environment variable UUID' }
        },
        required: ['uuid', 'env_uuid']
      }
    },
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