save_auth_tokens
Save NotebookLM authentication tokens using cookies from Chrome DevTools when the automated CLI login fails.
Instructions
Save NotebookLM cookies (FALLBACK method - try nlm login first!).
IMPORTANT FOR AI ASSISTANTS:
First, run
nlm loginvia Bash/terminal (automated, preferred)Only use this tool if the automated CLI fails
Args: cookies: Cookie header from Chrome DevTools (only needed if CLI fails) csrf_token: Deprecated - auto-extracted session_id: Deprecated - auto-extracted request_body: Optional - contains CSRF if extracting manually request_url: Optional - contains session ID if extracting manually
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cookies": "<cookies>"
},
"name": "save_auth_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookies | Yes | ||
| csrf_token | No | ||
| session_id | No | ||
| request_body | No | ||
| request_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||