session
Manage cookies in a cookie jar: list, get, set, delete, clear cookies, and import from response headers. Control cookie attributes like domain, path, secure, HttpOnly, SameSite, and expiry.
Instructions
Cookie jar management — list, get, set, delete, clear cookies, import from response headers. See rqwstr_docs(topic="cookies") for actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Target URL (for get and import_from_response) | |
| name | No | Cookie name (for set and delete) | |
| path | No | Cookie path (for set; defaults to /) | |
| value | No | Cookie value (for set) | |
| action | Yes | Action: list get set delete clear import_from_response delete_expired | |
| domain | No | Cookie domain (for set and delete) | |
| secure | No | Secure flag (for set) | |
| expires | No | Expiry Unix ms (for set; 0 = session cookie) | |
| http_only | No | HttpOnly flag (for set) | |
| same_site | No | SameSite: Strict Lax None (for set) | |
| set_cookies | No | Set-Cookie header values (for import_from_response) |