renewDomain
renewDomain: Stage renewal of a domain for a specified number of years. Deducts from account balance. Returns an actionId: present the summary to the user, then call executeConfirmedAction with the actionId if they approve.
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>",
"years": "<years>"
},
"name": "renewDomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Renewal period in years, 1-10. | |
| domain | Yes | Fully qualified domain name to renew, like "example.com", without scheme. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. |