Skip to main content
Add a custom domain to an environment

Tool details

FieldValue
Namecreate_domain
GroupDomains

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "environment_id": {
      "type": "string",
      "description": "Environment ID"
    },
    "domain": {
      "type": "string",
      "description": "Custom domain name (e.g., app.example.com)"
    }
  },
  "required": [
    "project_reference",
    "environment_id",
    "domain"
  ],
  "additionalProperties": false,
  "description": "Input schema for the create_domain tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the returned record."
    },
    "domain": {
      "type": "string",
      "description": "The domain associated with this tool result."
    },
    "environment_id": {
      "type": "string",
      "description": "The environment id associated with this tool result."
    }
  },
  "required": [
    "id",
    "domain",
    "environment_id"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the create_domain tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}