# Cookie consent MCP tools

This page documents **32 tools** in the cookie consent group. Return to the [complete MCP tool reference](/docs/developers/api/mcp/tools) to browse another group.

Select a tool to inspect its schemas and behavior. Schema links open the exact definition in GitHub.

### `listCookieBanners` — List Cookie Banners

List all cookie banners for the organization.

- **Input:** [`ListCookieBannersInput`](/docs)
- **Output:** [`ListCookieBannersOutput`](/docs)
- **Behavior:** Read only · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17173–L17184 ↗](/docs)

### `getCookieBanner` — Get Cookie Banner

Get a cookie banner by ID.

- **Input:** [`GetCookieBannerInput`](/docs)
- **Output:** [`GetCookieBannerOutput`](/docs)
- **Behavior:** Read only · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17185–L17196 ↗](/docs)

### `addCookieBanner` — Add Cookie Banner

Create a new cookie banner for an organization.

- **Input:** [`AddCookieBannerInput`](/docs)
- **Output:** [`AddCookieBannerOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Non-idempotent · Closed world
- **Source:** [specification.yaml · L17197–L17208 ↗](/docs)

### `updateCookieBanner` — Update Cookie Banner

Update an existing cookie banner.

- **Input:** [`UpdateCookieBannerInput`](/docs)
- **Output:** [`UpdateCookieBannerOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17209–L17220 ↗](/docs)

### `deleteCookieBanner` — Delete Cookie Banner

Delete a cookie banner.

- **Input:** [`DeleteCookieBannerInput`](/docs)
- **Output:** [`DeleteCookieBannerOutput`](/docs)
- **Behavior:** Writes data · Destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17221–L17232 ↗](/docs)

### `activateCookieBanner` — Activate Cookie Banner

Activate a cookie banner.

- **Input:** [`ActivateCookieBannerInput`](/docs)
- **Output:** [`ActivateCookieBannerOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17233–L17244 ↗](/docs)

### `deactivateCookieBanner` — Deactivate Cookie Banner

Deactivate a cookie banner.

- **Input:** [`DeactivateCookieBannerInput`](/docs)
- **Output:** [`DeactivateCookieBannerOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17245–L17256 ↗](/docs)

### `listCookieCategories` — List Cookie Categories

List all cookie categories for a banner.

- **Input:** [`ListCookieCategoriesInput`](/docs)
- **Output:** [`ListCookieCategoriesOutput`](/docs)
- **Behavior:** Read only · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17257–L17268 ↗](/docs)

### `getCookieCategory` — Get Cookie Category

Get a cookie category by ID.

- **Input:** [`GetCookieCategoryInput`](/docs)
- **Output:** [`GetCookieCategoryOutput`](/docs)
- **Behavior:** Read only · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17269–L17280 ↗](/docs)

### `addCookieCategory` — Add Cookie Category

Create a new cookie category for a banner.

- **Input:** [`AddCookieCategoryInput`](/docs)
- **Output:** [`AddCookieCategoryOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Non-idempotent · Closed world
- **Source:** [specification.yaml · L17281–L17292 ↗](/docs)

### `updateCookieCategory` — Update Cookie Category

Update an existing cookie category.

- **Input:** [`UpdateCookieCategoryInput`](/docs)
- **Output:** [`UpdateCookieCategoryOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17293–L17304 ↗](/docs)

### `deleteCookieCategory` — Delete Cookie Category

Delete a cookie category.

- **Input:** [`DeleteCookieCategoryInput`](/docs)
- **Output:** [`DeleteCookieCategoryOutput`](/docs)
- **Behavior:** Writes data · Destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17305–L17316 ↗](/docs)

### `reorderCookieCategory` — Reorder Cookie Category

Change the display order rank of a cookie category.

- **Input:** [`ReorderCookieCategoryInput`](/docs)
- **Output:** [`ReorderCookieCategoryOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17317–L17328 ↗](/docs)

### `listTrackerPatterns` — List Tracker Patterns

List all tracker patterns for a category.

- **Input:** [`ListTrackerPatternsInput`](/docs)
- **Output:** [`ListTrackerPatternsOutput`](/docs)
- **Behavior:** Read only · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17329–L17340 ↗](/docs)

### `getTrackerPattern` — Get Tracker Pattern

Get a tracker pattern by ID.

- **Input:** [`GetTrackerPatternInput`](/docs)
- **Output:** [`GetTrackerPatternOutput`](/docs)
- **Behavior:** Read only · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17341–L17352 ↗](/docs)

### `addTrackerPattern` — Add Tracker Pattern

Create a new tracker pattern for a category.

- **Input:** [`AddTrackerPatternInput`](/docs)
- **Output:** [`AddTrackerPatternOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Non-idempotent · Closed world
- **Source:** [specification.yaml · L17353–L17364 ↗](/docs)

### `updateTrackerPattern` — Update Tracker Pattern

Update an existing tracker pattern.

- **Input:** [`UpdateTrackerPatternInput`](/docs)
- **Output:** [`UpdateTrackerPatternOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17365–L17376 ↗](/docs)

### `deleteTrackerPattern` — Delete Tracker Pattern

Delete a tracker pattern.

- **Input:** [`DeleteTrackerPatternInput`](/docs)
- **Output:** [`DeleteTrackerPatternOutput`](/docs)
- **Behavior:** Writes data · Destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17377–L17388 ↗](/docs)

### `moveTrackerPatternToCategory` — Move Tracker Pattern to Category

Move a tracker pattern to a different category.

- **Input:** [`MoveTrackerPatternToCategoryInput`](/docs)
- **Output:** [`MoveTrackerPatternToCategoryOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17389–L17400 ↗](/docs)

### `listTrackerResources` — List Tracker Resources

List all tracker resources for a category.

- **Input:** [`ListTrackerResourcesInput`](/docs)
- **Output:** [`ListTrackerResourcesOutput`](/docs)
- **Behavior:** Read only · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17401–L17412 ↗](/docs)

### `getTrackerResource` — Get Tracker Resource

Get a tracker resource by ID.

- **Input:** [`GetTrackerResourceInput`](/docs)
- **Output:** [`GetTrackerResourceOutput`](/docs)
- **Behavior:** Read only · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17413–L17424 ↗](/docs)

### `addTrackerResource` — Add Tracker Resource

Create a new tracker resource for a category.

- **Input:** [`AddTrackerResourceInput`](/docs)
- **Output:** [`AddTrackerResourceOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Non-idempotent · Closed world
- **Source:** [specification.yaml · L17425–L17436 ↗](/docs)

### `updateTrackerResource` — Update Tracker Resource

Update an existing tracker resource.

- **Input:** [`UpdateTrackerResourceInput`](/docs)
- **Output:** [`UpdateTrackerResourceOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17437–L17448 ↗](/docs)

### `deleteTrackerResource` — Delete Tracker Resource

Delete a tracker resource.

- **Input:** [`DeleteTrackerResourceInput`](/docs)
- **Output:** [`DeleteTrackerResourceOutput`](/docs)
- **Behavior:** Writes data · Destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17449–L17460 ↗](/docs)

### `moveTrackerResourceToCategory` — Move Tracker Resource to Category

Move a tracker resource to a different category.

- **Input:** [`MoveTrackerResourceToCategoryInput`](/docs)
- **Output:** [`MoveTrackerResourceToCategoryOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17461–L17472 ↗](/docs)

### `publishCookieBannerVersion` — Publish Cookie Banner Version

Publish the current draft version of a cookie banner.

- **Input:** [`PublishCookieBannerVersionInput`](/docs)
- **Output:** [`PublishCookieBannerVersionOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17473–L17484 ↗](/docs)

### `regenerateCookieBannerTrackerPolicy` — Regenerate Cookie Banner Tracker Policy

Re-arm tracker policy generation for a cookie banner that already has a published version. Returns immediately; the policy document is regenerated in the background.

- **Input:** [`RegenerateCookieBannerTrackerPolicyInput`](/docs)
- **Output:** [`RegenerateCookieBannerTrackerPolicyOutput`](/docs)
- **Behavior:** Writes data · Destructive · Non-idempotent · Closed world
- **Source:** [specification.yaml · L17485–L17496 ↗](/docs)

### `listCookieBannerVersions` — List Cookie Banner Versions

List all versions for a cookie banner.

- **Input:** [`ListCookieBannerVersionsInput`](/docs)
- **Output:** [`ListCookieBannerVersionsOutput`](/docs)
- **Behavior:** Read only · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17497–L17508 ↗](/docs)

### `upsertCookieBannerTranslation` — Upsert Cookie Banner Translation

Insert or update a cookie banner translation for a language.

- **Input:** [`UpsertCookieBannerTranslationInput`](/docs)
- **Output:** [`UpsertCookieBannerTranslationOutput`](/docs)
- **Behavior:** Writes data · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17509–L17520 ↗](/docs)

### `listCookieConsentRecords` — List Cookie Consent Records

List consent records for a cookie banner.

- **Input:** [`ListCookieConsentRecordsInput`](/docs)
- **Output:** [`ListCookieConsentRecordsOutput`](/docs)
- **Behavior:** Read only · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17521–L17532 ↗](/docs)

### `getCookieConsentRecord` — Get Cookie Consent Record

Get a consent record by ID.

- **Input:** [`GetCookieConsentRecordInput`](/docs)
- **Output:** [`GetCookieConsentRecordOutput`](/docs)
- **Behavior:** Read only · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L17533–L17544 ↗](/docs)

### `listDetectedTrackers` — List Detected Trackers

List detected trackers for a tracker pattern.

- **Input:** [`ListDetectedTrackersInput`](/docs)
- **Output:** [`ListDetectedTrackersOutput`](/docs)
- **Behavior:** Read only · Non-destructive · Idempotent · Closed world
- **Source:** [specification.yaml · L18229–L18240 ↗](/docs)
