Add single sign-on domain
stack_add_sso_domainClaim an e-mail domain, such as corp.example.com, for the account's single sign-on. Some identity providers (Microsoft Entra ID among them) do not say that a person's address is verified; once the account has proved the domain, an address at exactly that domain counts as verified for a first sign-in when the provider's ID token has no email_verified claim at all. Returns the DNS TXT record to publish (record.name, record.value); nothing counts until stack_verify_sso_domain finds it. The exact domain only: a subdomain is a domain of its own. Needs an owner or admin session. A person approves it in a browser: the call fails first with approval_id and approval_url and the chat never approves it. Send the same domain with governance_approval_id once they have. A domain another account has verified is refused with a message that does not say who holds it.
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": {
"domain": "<domain>"
},
"name": "stack_add_sso_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The e-mail domain, such as corp.example.com: a name, with no address, port or path | |
| governance_approval_id | No | Approval id (gvr_*) from a GOVERNANCE_APPROVAL_REQUIRED response, once the person approved it in their browser |