Save NotebookLM cookies
auth_save_tokensSave pasted NotebookLM cookies, optional CSRF token, and session ID to ~/.notebooklm-mcp/auth.json, replacing stored values. Use when the user hands you cookies; never echo them back.
Instructions
Manual fallback: save NotebookLM cookies the user pasted, plus an optional CSRF token and session ID, to ~/.notebooklm-mcp/auth.json, replacing what is stored there. Returns a confirmation; the next call uses the new tokens. Prefer the CLI auth command. Use this only when the user hands you cookies, and never echo them back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookies | No | Cookie header string as copied from the browser ("SID=...; HSID=...; ..."); must include SID, HSID, SSID, APISID, SAPISID | |
| csrf_token | No | CSRF token (SNlM0e); optional, extracted from the page when omitted | |
| session_id | No | Session ID (FdrFJe); optional, extracted from the page when omitted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | No | Human-readable outcome or next step |