Skip to main content
Update a custom domain name

Tool details

FieldValue
Nameupdate_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_id": {
      "type": "string",
      "description": "Domain ID to update"
    },
    "domain": {
      "type": "string",
      "description": "New domain name"
    }
  },
  "required": [
    "project_reference",
    "environment_id",
    "domain_id",
    "domain"
  ],
  "additionalProperties": false,
  "description": "Input schema for the update_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."
    }
  },
  "required": [
    "id",
    "domain"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the update_domain tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}