Albert Heijn: Log In
ah_loginStart or complete an Albert Heijn login by requesting the login link or submitting the copied appie://login-exit code to finish authentication.
Instructions
Log in to Albert Heijn. Call without arguments to start. On the user's own computer this usually opens a login window that finishes the login by itself. Otherwise it returns the AH login link and step-by-step instructions: show them to the user as given, in order (the developer console must be open before they log in). The user then copies a link like appie://login-exit?code=...; call ah_login again with code set to that link (or just the code) to finish. Codes are single-use and expire quickly. If already logged in, returns the account name; to switch accounts, call ah_logout first.
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": "ah_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The appie://login-exit?code=... link the user copied after logging in, or just the code. Omit to start a login. |