willys_login
Obtain a Willys sessionId to access the API securely. Credentials are read from .env, never exposed; valid sessions are reused for 24h, with force=true to force re-auth.
Instructions
Logga in på Willys och få ett sessionId tillbaka. Säkert att anropa: servern läser uppgifterna ur .env, de når aldrig din kontext (se read_doc med help/security.md). Återanvänder en giltig session (24h); force=true tvingar ny inloggning.
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": "willys_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Tvinga ny inloggning även om en giltig session finns. Använd sparsamt — Willys stryper upprepade inloggningar. |