# set_domain_auto_renew (/docs/mcp/tools/set-domain-auto-renew)

{/* Generated by scripts/sync-mcp-tools.mjs from happierleads-api. Do not edit: change src/routes/mcp/toolDocs.json there, or add content/mcp-notes/set_domain_auto_renew.mdx. */}

**Set domain auto-renew** · Changes data · Acts outside your account

Turns automatic yearly renewal of a sending domain on or off. Off: the domain and its mailboxes stop working when it expires.

| Connection | Account-owner URL or OAuth (not a team member URL) |
| --- | --- |

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. |
| `domainId` | `string` | Yes | Domain ID from list_domains. |
| `autoRenew` | `boolean` | Yes | true to renew every year. |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "name": "set_domain_auto_renew",
  "title": "Set domain auto-renew",
  "annotations": {
    "title": "Set domain auto-renew",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": true
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      },
      "domainId": {
        "type": "string",
        "description": "Domain ID from list_domains."
      },
      "autoRenew": {
        "type": "boolean",
        "description": "true to renew every year."
      }
    },
    "required": [
      "websiteId",
      "domainId",
      "autoRenew"
    ]
  }
}
```
