CookiePal
v1.0.1Manage your CookiePal cookie banner: domains, the banner tag and style, and cookie scan reports.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
plan_check Plan a cookie check
Starts a check of one web page for cookies set before consent. Returns a check ID and the plan the local check follows: the page is loaded in a browser on the user’s own computer, never by CookiePal, and the plan carries the banner matchers for pressing accept and reject there. Send the result to submit_check within 30 minutes. No account needed. The local run this needs is made only by the CookiePal plugin in a coding agent on the user’s own computer: Claude Code, Codex or Cursor. claude.ai, Claude Code on the web and other cloud agents run in the cloud, so they cannot make it, and a craw…
| Parameter | Type | Description |
|---|---|---|
url * | string | The page to check, http or https, as origin and path only. CookiePal never requests it. |
installId | string | A random install ID, sent only when the user agreed to share it in the plugin. Omit it otherwise. |
pluginVersion | string |
submit_check Submit a cookie check
Stores the result of a local check started with plan_check and returns it with a summary by category. Send each cookie with its category from @cookiepal-oss/cookie-db (necessary, functional, analytics, performance, advertisement or other) and its attributes, never its value. Include `consent` when the check pressed accept and reject, so the result says what survived an explicit reject. When no banner was found the result carries `noBannerSeenFrom`, the country the page was loaded from: a site that shows its banner only in other regions is indistinguishable from one with no banner, so that read…
| Parameter | Type | Description |
|---|---|---|
checkId * | string | The check ID plan_check returned. |
cookies * | array | |
resultVersion * | number | |
thirdPartyHosts * | array | |
consent | object | What changed after accept and after reject. Omit it when the plugin did not run the consent action; the check is then an arrival-only reading. |
truncated | boolean | True when the skill dropped cookies or hosts to fit the limits. |
forget_install Delete the checks stored under an install ID
Deletes the checks CookiePal stored under one install ID. Run it from the plugin before the ID is removed from the machine, because once the ID is gone there is nothing left to look the checks up by. It answers with how many were deleted and how many remain: only a run reporting no remainder has finished, and running it again deletes just what is left. An ID that stored nothing reports zero of both. It also unlinks the ID from any CookiePal account it was connected to. No account needed.
| Parameter | Type | Description |
|---|---|---|
installId * | string | The install ID to erase. Every check stored under it is deleted. |
whoami Show the connected CookiePal account
Reports the CookiePal account this client is signed in as: the user, the organisation, the domain tools act on by default, and each domain’s plan and whether its page-view limit has been reached. Use it to confirm a connection, or to find out which domain other tools will use when none is given.
| Parameter | Type | Description |
|---|---|---|
domain | string | The domain to report on. Defaults to the organisation’s current one. |
connect_account Connect a CookiePal account
Connects this client to a CookiePal account, opening sign-in (or sign-up, for someone without an account) in the browser if needed, then reports who is connected: the user, the organisation and the domain other tools act on by default. Pass the plugin’s install ID only with linkInstall: true if the user agreed to link it to this account, or linkInstall: false if they said no.
| Parameter | Type | Description |
|---|---|---|
installId | string | The plugin’s install ID, sent with `linkInstall` to carry out the user’s answer to linking it to this account. Leave it out when the user shared no install ID. |
linkInstall | boolean | Required with `installId`: true only if the user agreed to link the install ID to this account (a separate question from sharing it), false if they said no, which also removes any link made before. |
list_domains List CookiePal domains
Lists the domains in the connected CookiePal account that this user can see, with each domain’s plan, this month’s page views, whether its page-view limit has been reached, and whether its banner has been found installed. Plans are per domain.
add_domain Add a domain to CookiePal
Adds a website domain to the connected CookiePal account on the free plan, with the same checks as the CookiePal dashboard, and queues its banner build. Nothing is scanned on CookiePal’s side: the result says how to run the first scan on the user’s computer. An organisation can add at most 10 domains a day this way. Other tools keep using the default domain unless given the new one.
| Parameter | Type | Description |
|---|---|---|
domain * | string | The domain to add, such as example.com. A URL is accepted: its scheme, a leading www. and any path are dropped. A port is refused, as in the dashboard, so send example.com, not example.com:8080. |
get_install_snippet Get the CookiePal banner install tag
Returns the CookiePal banner script tag to paste into a site, for one domain in the connected account. It is byte-for-byte the tag the CookiePal dashboard copies for that domain, including `defer` for a Shopify store. Paste it as given: the URL it loads is specific to the domain, and a tag built by hand or copied from another site will not verify. Use verify_installation afterwards to confirm it is live.
| Parameter | Type | Description |
|---|---|---|
domainId | string | Which domain’s tag to return, such as example.com. Omit it for the account’s default domain, the one the dashboard opens on. |
verify_installation Verify the CookiePal banner is installed
Records a check of one domain’s live page, loaded on the user’s own computer, and sets that domain’s banner verification status to verified or failed. Load the page locally first and send what it found: CookiePal never requests the page. The server compares the banner script the page loads with the one this domain’s tag must load, so a tag from another site, or a hand-built one, ends as failed with the reason. Nothing is crawled on CookiePal’s side. The local run this needs is made only by the CookiePal plugin in a coding agent on the user’s own computer: Claude Code, Codex or Curs…
| Parameter | Type | Description |
|---|---|---|
evidence * | object | What the page load on the user’s computer found. Send it exactly as the local verify step returned it; never assemble or edit it. |
domainId | string | Which domain was checked, such as example.com. Omit it for the account’s default domain. |
start_scan Start a local cookie scan
Starts a crawl of one of your CookiePal domains on the user’s own computer, using the open-source crawl engine. CookiePal crawls nothing: run upload_scan_report with the result when the crawl finishes, and until then get_scan_report reports it as running. Needs the domain’s banner to be verified and active first, unless this is the very first scan of a domain just added with add_domain. The local run this needs is made only by the CookiePal plugin in a coding agent on the user’s own computer: Claude Code, Codex or Cursor. claude.ai, Claude Code on the web and other cloud agents run in th…
| Parameter | Type | Description |
|---|---|---|
domainId | string | Which domain to scan, such as example.com. Omit it for the account’s default domain. |
maxPages | integer | How many pages to crawl, up to 50. |
upload_scan_report Upload a local cookie scan
Stores the result of a local crawl started with start_scan, as a report labelled a local scan. Send the cookies with their category from @cookiepal-oss/cookie-db. When robots.txt blocked the crawl, send blockedByRobots and no report is stored. Each scan ID can be uploaded once, by the user who started it. The local run this needs is made only by the CookiePal plugin in a coding agent on the user’s own computer: Claude Code, Codex or Cursor. claude.ai, Claude Code on the web and other cloud agents run in the cloud, so they cannot make it, and a crawler or browser run anywhere else does not st…
| Parameter | Type | Description |
|---|---|---|
scanId * | string | |
blockedByRobots | boolean | |
cookies | array | |
pagesScanned | integer | |
thirdPartyHosts | array | |
truncated | boolean |
get_scan_report Get the latest cookie scan report
Returns the latest cookie report for one of your CookiePal domains, with each cookie’s category, and says whether it came from a local scan. When a start_scan crawl is still running, reports that instead of an old report. The result reports what was found. It does not assess whether a site, page or banner complies with any law, so it is never a verdict of compliant or non-compliant.
| Parameter | Type | Description |
|---|---|---|
domainId | string | Which domain to report on. Omit it for the account’s default domain. |
classify_cookies Classify cookies
Sets the category for a list of cookies on one of your CookiePal domains, and reports the result for each one. Send the category from @cookiepal-oss/cookie-db (necessary, functional, analytics, performance, advertisement or other).
| Parameter | Type | Description |
|---|---|---|
cookies * | array | |
domainId | string | Which domain these cookies belong to. Omit it for the account’s default domain. |
check_gcm_status Check Google Consent Mode status
Reads Google Consent Mode on one of your CookiePal domains, from a page load on the user’s own computer, names the problem if there is one, and records the result on the domain as a local reading. Run this again any time to re-check. The local run this needs is made only by the CookiePal plugin in a coding agent on the user’s own computer: Claude Code, Codex or Cursor. claude.ai, Claude Code on the web and other cloud agents run in the cloud, so they cannot make it, and a crawler or browser run anywhere else does not stand in for it. The result reports what was found. It does not assess wh…
| Parameter | Type | Description |
|---|---|---|
reading * | object | Exactly what the gcm check command returned; never hand-built. |
seenAt * | string | When the reading was taken, ISO 8601. |
url * | string | The page that was read on the user’s computer. |
domainId | string | Which domain was checked. Omit it for the account’s default domain. |
set_banner_mode Set the banner mode
Sets which privacy regulation one of your CookiePal domains’ banner follows: gdpr, ccpa (US (all states)) or both (GDPR / LGPD & US), where both applies GDPR everywhere and the US state rules to US visitors at the edge. Both is available on paid plans. It changes nothing else about the banner, and then queues a rebuild so the change goes live; if the domain has reached its page-view limit the rebuild is skipped, and the result says so.
| Parameter | Type | Description |
|---|---|---|
bannerMode * | string | |
domainId | string | Which domain to change. Omit it for the account’s default domain. |
customise_banner Customise the banner
Changes how one of your CookiePal domains’ banner looks and reads: its colours, logo type (default only), positions, and the title, description and button texts per language. Give only what you want to change; everything else keeps its saved value. It does not upload a custom logo or change category texts; use the CookiePal dashboard for those. Colour, logo and position changes queue a rebuild (skipped, and said so, if the domain has reached its page-view limit); texts go live without one.
| Parameter | Type | Description |
|---|---|---|
colors | object | Only the colours you give change; the rest keep their saved value. |
domainId | string | Which domain to customise. Omit it for the account’s default domain. |
logo | object | The banner’s logo: set type default to use CookiePal’s default logo (it has a fixed colour). A custom logo is kept as it is unless you set a type. |
positions | object | Only the positions you give change; the rest keep their saved value. |
texts | array | Banner and preference-centre copy per language the banner already has, as plain text; paragraphs are separated by a blank line. |
regenerate_banner Rebuild the banner
Queues a rebuild of the cookie banner script for one of your CookiePal domains, so it picks up the settings saved for it. It changes no setting and works on one domain only. If the domain has reached its page-view limit nothing is rebuilt, and the result says so.
| Parameter | Type | Description |
|---|---|---|
domainId | string | Which domain to rebuild. Omit it for the account’s default domain. |