Connect a client
Set the primary domain
Make this domain the project's primary hostname.
Arguments
| Name | Type | Required | Limits |
|---|---|---|---|
projectId | string | Yes | At least 1 character(s) |
domainId | string | Yes | At least 1 character(s) |
Full input schema
{
"type": "object",
"properties": {
"projectId": {
"type": "string",
"minLength": 1
},
"domainId": {
"type": "string",
"minLength": 1
}
},
"required": [
"projectId",
"domainId"
],
"additionalProperties": false
}Example call
The params of a tools/call request. Replace the placeholder values with your own IDs.
{
"name": "setPrimaryDomain",
"arguments": {
"projectId": "REPLACE_WITH_PROJECT_ID",
"domainId": "REPLACE_WITH_DOMAIN_ID"
}
} Result
The same data as the API operation, wrapped as {"untrusted_data": true, "source": "setPrimaryDomain", "note": "...", "data": ...} so the model treats project content as data, not instructions.