assets_set_domain_state
Sets a domain of the calling user's company to Active or Disabled, by domain ID. This WRITES data: confirm the domain with the user before calling. Disabling retires a domain without losing anything - the concepts and projects filed under it keep their assignment - but it drops out of list_domains unless the state filter asks for it, and machine translation configured for that domain is refused. Setting it back to Active undoes that. Use list_domains to find the ID. To change the name instead, use rename_domain.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"state": "<state>"
},
"name": "assets_set_domain_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Identifier of the domain to change. Use list_domains to find it - domain names are not unique, so only the ID identifies one reliably. | |
| state | Yes | State to put the domain into. Active brings the domain into use, Disabled retires it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Domain ID. Pass this value wherever a domain id is asked for. | |
| name | No | Domain name. Not unique within a company, so only the ID identifies a domain reliably. | |
| state | No | Active domains are in use; Disabled ones are retired and stay out of listings unless asked for. |