save_session_from_browser
Saves cookies from aa.com after you log in through aa-auth-browser, preserving your AAdvantage session.
Instructions
Pull cookies from a logged-in Chromium (started by aa-auth-browser) and save them.
Workflow:
Run
aa-auth-browser <account>to launch Chromium with --remote-debugging-port.Log into aa.com in that browser.
Call this tool — it connects to the debug port via CDP and saves all aa.com cookies.
Args: account: Account name to associate with the saved cookies. Default: "default". port: Chromium remote-debugging port as a string. Empty/omitted uses the default (9224, matches aa-auth-browser). Pass as string to avoid MCP type-coercion issues with some clients.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_session_from_browser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | default | |
| port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |