alterlab_update_session
Update session properties such as name, cookies, headers, expiration, or notes. Replace all existing cookies with new ones to rotate credentials without deleting and recreating the session.
Instructions
Update a stored session's properties. You can change the name, rotate cookies, update custom headers, set a new expiration, or add notes. When cookies are provided, they replace ALL existing cookies (not merged). Use this instead of delete+recreate when you need to rotate credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | UUID of the session to update | |
| name | No | New name for the session | |
| cookies | No | New cookie key-value pairs — replaces ALL existing cookies (e.g., {"session-id": "new123", "session-token": "newxyz"}) | |
| headers | No | New custom headers — replaces ALL existing headers | |
| expires_at | No | New expiration date in ISO 8601 format (e.g., '2026-12-31T23:59:59Z') | |
| notes | No | Notes or description for this session |