authenticate
Log in to Migros with a current six-digit 2FA code only when an authenticated tool reports fresh_code_required; omit the code to reuse a cached session or if no 2FA is configured.
Instructions
Log in to Migros with the current six-digit 2FA code from the user's authenticator app (ask the user for it, or read it from a password manager you have access to). Only needed when an authenticated tool reports fresh_code_required, which happens when no TOTP secret is configured. Omit totpCode to reuse a cached session, or if the account has no 2FA. The code is never stored or returned.
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": "authenticate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| totpCode | No | Current six-digit TOTP code. Omit to reuse a cached session, or if the account has no 2FA. |