Ask DNS provider for access
domainAuthorizeAsk the DNS provider to write this connection’s records instead of the human copying them. Requires the connection’s domainId. The returned url opens an approval flow for the human. It first checks that the signed-in Tofu account owns this project, then uses the provider’s own approval screen; another account is refused. Tofu never asks for an API key, token or client secret; this tool has no credential input field. Only providers Tofu has configured can be started; an unavailable one is refused with the reason. It writes nothing by itself, and it does not buy or transfer a 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": {
"projectId": "<projectId>",
"domainId": "<domainId>",
"provider": "<provider>"
},
"name": "domainAuthorize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | No | ||
| domainId | Yes | ||
| provider | Yes | ||
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| zone | Yes | ||
| status | Yes | ||
| message | Yes | ||
| provider | Yes | ||
| createdAt | Yes | ||
| expiresAt | Yes |