Back to home
Connect a client

Add a domain

Add a custom hostname to the project. Hostname validation and the current plan's domain restrictions apply.

Arguments

NameTypeRequiredLimits
hostnamestringYesAt least 1 character(s)
projectIdstringYesAt least 1 character(s)
Full input schema
{
  "type": "object",
  "properties": {
    "hostname": {
      "type": "string",
      "minLength": 1
    },
    "projectId": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "projectId",
    "hostname"
  ],
  "additionalProperties": false
}

Example call

The params of a tools/call request. Replace the placeholder values with your own IDs.

{
  "name": "createDomain",
  "arguments": {
    "projectId": "REPLACE_WITH_PROJECT_ID",
    "hostname": "app.example.com"
  }
}

Result

The same data as the API operation, wrapped as {"untrusted_data": true, "source": "createDomain", "note": "...", "data": ...} so the model treats project content as data, not instructions.