set_cookie
Configure browser cookies by specifying name, value, domain, and optional attributes (Secure, HttpOnly, SameSite) for session and authentication control.
Instructions
Set a browser cookie with name, value, domain, and optional flags (secure, httpOnly, sameSite).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Cookie name | |
| path | No | Cookie path | / |
| tabId | No | Tab ID (optional) | |
| value | Yes | Cookie value | |
| domain | No | Cookie domain | |
| secure | No | Secure flag | |
| expires | No | Expiration timestamp | |
| httpOnly | No | HttpOnly flag | |
| sameSite | No | SameSite attribute |