rappi_auth
Extract Rappi credentials from Chrome and save them to .env. Attaches to an existing logged-in Chrome or launches a new window for manual login.
Instructions
Extract Rappi credentials from Chrome and save them to .env.
Flow:
use_existing_chrome=True (default): attach to a Chrome already running with --remote-debugging-port=9223. Reads cookies immediately — user must already be logged into rappi.cl.
use_existing_chrome=False: launches a dedicated Chrome window pointed at rappi.cl, then waits up to 2 minutes for the user to log in. Once the auth cookies appear, exchanges the refresh token for a fresh access token and writes everything to .env automatically — no second call needed.
Returns the extracted values (tokens truncated for display).
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": "rappi_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use_existing_chrome | No |