cookies
Get, set, delete, or clear cookies for a browser tab. Supports domain, path, secure, and expiration settings.
Instructions
Manage browser cookies (get, set, delete, clear).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID | |
| action | Yes | Action to perform | |
| name | No | Cookie name | |
| value | No | Cookie value | |
| domain | No | Cookie domain. Default: current domain | |
| path | No | Cookie path. Default: / | |
| secure | No | Secure flag | |
| httpOnly | No | HTTP-only flag | |
| sameSite | No | SameSite attribute | |
| expires | No | Expiration Unix timestamp (seconds) | |
| raw | No | Return all cookies with full attributes, bypassing classification. | |
| dryRun | No | Preview-only mode for destructive actions (delete, clear). When true, returns counts and a sample of cookies that would be deleted without mutating any state. Default: false. |