Refresh Session Token
refresh_tokenOpens a visible browser login to capture and save a new foodpanda session token when the current one expires, is missing, or you need to switch accounts.
Instructions
Opens a browser window to foodpanda.ph so the user can log in. Intercepts the session token from network requests and updates the server. Call this when: (1) other tools return a 'session token expired' or 'No session token configured' error, or (2) the user wants to switch accounts. The browser window is visible — the user logs in manually (handling any CAPTCHAs or MFA). Once logged in, the token is captured automatically and saved for future sessions.
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": "refresh_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | How long to wait for login in seconds (default 120). Increase if the user needs more time. |