30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

List Declared Cookies

consent/list-cookies returns the cookies the site declares, with the category each belongs to, its domain, how long it lasts and the description shown to visitors.

An empty list is a real answer, and a common one: it means the banner names no cookies at all.

At a glance

Abilityconsent/list-cookies
ToolsetCookieYes — toolset/cookieyes
GroupCookieYes › Declared Cookies
RequiresCookieYes, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

This is the inventory, not the reality. A declared cookie is an entry in a table that the preference centre reads when it builds the list a visitor sees. It does not make the cookie exist, and removing it does not stop the cookie being set.

So the list answers one question precisely: what is this site telling visitors it uses? Comparing that against what the site actually sets is the work, and it is work a person or a scan does — this is one half of the comparison.

Descriptions and durations come back keyed by language, because that is how they are stored. A site offering the banner in three languages has three descriptions per cookie, and any of them can be missing while the others are filled in.

The category filter takes a category ID from consent/list-categories. Without it you get everything.

Input

NameTypeRequiredWhat it is
category_idintegerNoOnly cookies in this consent category. Omit for all.

What comes back

NameTypeWhat it is
cookiesarrayOne entry per cookie: ID, name, category, domain, duration and description, the last two keyed by language.
countintegerHow many cookies were returned.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

What cookies does our banner tell visitors about?

It resolves to one call:

{
  "ability": "consent/list-cookies",
  "parameters": {}
}

Worth knowing

  • An empty list usually means the inventory was never filled in, not that the site sets no cookies.
  • Descriptions are per language. A cookie described in English and blank in German displays blank to German visitors.
  • Nothing here inspects the browser. This is what the site declares.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading