# set_website_tags (/docs/mcp/tools/set-website-tags)

{/* 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_website_tags.mdx. */}

**Set a website's labels** · Changes data

Sets the labels of a website, used to group websites (for example by client or market) in the websites list. The list you send replaces the current one.

| Connection | Account URL, team member URL or OAuth |
| --- | --- |

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. |
| `tags` | `string[]` | Yes | The full list of labels. |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "name": "set_website_tags",
  "title": "Set a website's labels",
  "annotations": {
    "title": "Set a website's labels",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      },
      "tags": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "The full list of labels."
      }
    },
    "required": [
      "websiteId",
      "tags"
    ]
  }
}
```
