Upload a local cookie scan
upload_scan_reportStores 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 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scanId": "<scanId>"
},
"name": "upload_scan_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scanId | Yes | ||
| cookies | No | ||
| truncated | No | ||
| pagesScanned | No | ||
| blockedByRobots | No | ||
| thirdPartyHosts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domainId | Yes | ||
| nextStep | Yes | ||
| byCategory | Yes | ||
| reportedAt | Yes | ||
| scanSource | Yes | ||
| pagesScanned | Yes | ||
| cookiesStored | Yes |