delete_cookie
Deletes a named browser cookie or all cookies for the current page, useful for logging out, resetting consent banners, or clearing preferences before refreshing.
Instructions
Delete one cookie by name, or every cookie for the current page when name is omitted. Deleting all cookies usually logs the user out and resets consent banners and preferences; it cannot be undone. The page notices on its next request, so refresh (history) or navigate afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the cookie to delete, e.g. 'session_id'. Omit to delete ALL cookies for the current page. |