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 reading is inconclusive, not evidence that the site has no banner. Each check ID can be submitted once. 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 whether a site, page or banner complies with any law, so it is never a verdict of compliant or non-compliant.
View input schema
{
"type": "object",
"properties": {
"checkId": {
"type": "string",
"format": "uuid",
"description": "The check ID plan_check returned."
},
"resultVersion": {
"type": "number",
"const": 2
},
"cookies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 128,
"pattern": "^[\\x21-\\x3A\\x3C\\x3E-\\x7E]*$"
},
"domain": {
"type": "string",
"minLength": 1,
"maxLength": 253,
"pattern": "^\\.?[A-Za-z0-9_.:\\x5B\\x5D\\x2D]+$"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^\\/[\\x21-\\x3A\\x3C-\\x7E]*$"
},
"expires": {
"anyOf": [
{
"type": "number",
"maximum": 253402300799
},
{
"type": "null"
}
]
},
"httpOnly": {
"type": "boolean"
},
"secure": {
"type": "boolean"
},
"sameSite": {
"type": "string",
"enum": [
"Strict",
"Lax",
"None"
]
},
"category": {
"type": "string",
"enum": [
"necessary",
"functional",
"analytics",
"performance",
"advertisement",
"other"
],
"description": "Assigned on the user's machine from @cookiepal-oss/cookie-db."
}
},
"required": [
"name",
"domain",
"path",
"expires",
"httpOnly",
"secure",
"category"
],
"additionalProperties": false
},
"maxItems": 200
},
"thirdPartyHosts": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 253,
"pattern": "^[A-Za-z0-9_.:\\x5B\\x5D\\x2D]+$"
},
"maxItems": 200
},
"truncated": {
"type": "boolean",
"description": "True when the skill dropped cookies or hosts to fit the limits."
},
"consent": {
"type": "object",
"properties": {
"tested": {
"type": "boolean",
"description": "True when at least one of accept or reject was pressed."
},
"rejectByDefault": {
"type": "boolean"
},
"bannerFound": {
"type": "boolean"
},
"accept": {
"type": "object",
"properties": {
"pressed": {
"type": "boolean"
},
"reason": {
"type": "string",
"enum": [
"no-banner",
"no-button",
"ambiguous-button",
"load-failed",
"click-failed"
],
"description": "Why the button was not pressed."
},
"matchedBy": {
"type": "string",
"enum": [
"tag",
"id",
"class",
"text"
]
},
"cookiesAfterClick": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 128,
"pattern": "^[\\x21-\\x3A\\x3C\\x3E-\\x7E]*$"
},
"domain": {
"type": "string",
"minLength": 1,
"maxLength": 253,
"pattern": "^\\.?[A-Za-z0-9_.:\\x5B\\x5D\\x2D]+$"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^\\/[\\x21-\\x3A\\x3C-\\x7E]*$"
},
"expires": {
"anyOf": [
{
"type": "number",
"maximum": 253402300799
},
{
"type": "null"
}
]
},
"httpOnly": {
"type": "boolean"
},
"secure": {
"type": "boolean"
},
"sameSite": {
"type": "string",
"enum": [
"Strict",
"Lax",
"None"
]
},
"category": {
"type": "string",
"enum": [
"necessary",
"functional",
"analytics",
"performance",
"advertisement",
"other"
],
"description": "Assigned on the user's machine from @cookiepal-oss/cookie-db."
}
},
"required": [
"name",
"domain",
"path",
"expires",
"httpOnly",
"secure",
"category"
],
"additionalProperties": false
},
"maxItems": 200,
"default": []
},
"newAfterClick": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 128,
"pattern": "^[\\x21-\\x3A\\x3C\\x3E-\\x7E]*$"
},
"domain": {
"type": "string",
"minLength": 1,
"maxLength": 253,
"pattern": "^\\.?[A-Za-z0-9_.:\\x5B\\x5D\\x2D]+$"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^\\/[\\x21-\\x3A\\x3C-\\x7E]*$"
},
"expires": {
"anyOf": [
{
"type": "number",
"maximum": 253402300799
},
{
"type": "null"
}
]
},
"httpOnly": {
"type": "boolean"
},
"secure": {
"type": "boolean"
},
"sameSite": {
"type": "string",
"enum": [
"Strict",
"Lax",
"None"
]
},
"category": {
"type": "string",
"enum": [
"necessary",
"functional",
"analytics",
"performance",
"advertisement",
"other"
],
"description": "Assigned on the user's machine from @cookiepal-oss/cookie-db."
}
},
"required": [
"name",
"domain",
"path",
"expires",
"httpOnly",
"secure",
"category"
],
"additionalProperties": false
},
"maxItems": 200,
"default": []
},
"hostsAfterClick": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 253,
"pattern": "^[A-Za-z0-9_.:\\x5B\\x5D\\x2D]+$"
},
"maxItems": 200,
"default": []
}
},
"required": [
"pressed"
],
"additionalProperties": false
},
"reject": {
"type": "object",
"properties": {
"pressed": {
"type": "boolean"
},
"reason": {
"type": "string",
"enum": [
"no-banner",
"no-button",
"ambiguous-button",
"load-failed",
"click-failed"
],
"description": "Why the button was not pressed."
},
"matchedBy": {
"type": "string",
"enum": [
"tag",
"id",
"class",
"text"
]
},
"cookiesAfterClick": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 128,
"pattern": "^[\\x21-\\x3A\\x3C\\x3E-\\x7E]*$"
},
"domain": {
"type": "string",
"minLength": 1,
"maxLength": 253,
"pattern": "^\\.?[A-Za-z0-9_.:\\x5B\\x5D\\x2D]+$"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^\\/[\\x21-\\x3A\\x3C-\\x7E]*$"
},
"expires": {
"anyOf": [
{
"type": "number",
"maximum": 253402300799
},
{
"type": "null"
}
]
},
"httpOnly": {
"type": "boolean"
},
"secure": {
"type": "boolean"
},
"sameSite": {
"type": "string",
"enum": [
"Strict",
"Lax",
"None"
]
},
"category": {
"type": "string",
"enum": [
"necessary",
"functional",
"analytics",
"performance",
"advertisement",
"other"
],
"description": "Assigned on the user's machine from @cookiepal-oss/cookie-db."
}
},
"required": [
"name",
"domain",
"path",
"expires",
"httpOnly",
"secure",
"category"
],
"additionalProperties": false
},
"maxItems": 200,
"default": []
},
"newAfterClick": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 128,
"pattern": "^[\\x21-\\x3A\\x3C\\x3E-\\x7E]*$"
},
"domain": {
"type": "string",
"minLength": 1,
"maxLength": 253,
"pattern": "^\\.?[A-Za-z0-9_.:\\x5B\\x5D\\x2D]+$"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^\\/[\\x21-\\x3A\\x3C-\\x7E]*$"
},
"expires": {
"anyOf": [
{
"type": "number",
"maximum": 253402300799
},
{
"type": "null"
}
]
},
"httpOnly": {
"type": "boolean"
},
"secure": {
"type": "boolean"
},
"sameSite": {
"type": "string",
"enum": [
"Strict",
"Lax",
"None"
]
},
"category": {
"type": "string",
"enum": [
"necessary",
"functional",
"analytics",
"performance",
"advertisement",
"other"
],
"description": "Assigned on the user's machine from @cookiepal-oss/cookie-db."
}
},
"required": [
"name",
"domain",
"path",
"expires",
"httpOnly",
"secure",
"category"
],
"additionalProperties": false
},
"maxItems": 200,
"default": []
},
"hostsAfterClick": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 253,
"pattern": "^[A-Za-z0-9_.:\\x5B\\x5D\\x2D]+$"
},
"maxItems": 200,
"default": []
}
},
"required": [
"pressed"
],
"additionalProperties": false
}
},
"required": [
"tested",
"bannerFound",
"accept",
"reject"
],
"additionalProperties": false,
"description": "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."
}
},
"required": [
"checkId",
"resultVersion",
"cookies",
"thirdPartyHosts"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}