Reset the authorization code of a domain
domain_authorization_code_resetGenerate a new authorization code for a domain, invalidating the previous code; read the new code using domain details.
Instructions
Generate a new authorization code for a domain; the previous one stops working. It is not returned: read it with domain_details if the user asks. The user confirms outside the conversation; if the result is confirmation_pending, call again with the same arguments and the returned confirmation_id once the user answered.
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": "domain_authorization_code_reset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name, e.g. example.com (Unicode accepted). | |
| account | No | Account name; the default account when omitted. | |
| confirmation_id | No | Identifier returned by a pending confirmation, once the user has answered on the page opened in their browser. Never invent one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||