refresh_session_cookie
Manually re-authenticate to BTWB and replace the stored session cookie with a fresh one. Use it to proactively refresh authentication or verify BTWB_EMAIL and Keychain password setup.
Instructions
Manually re-authenticate to BTWB and replace the stored session cookie with a fresh one. Every other tool already does this automatically when it detects an expired session, so you normally don't need to call this directly - it's mainly useful to proactively refresh, or to test that BTWB_EMAIL and the Keychain-stored password are set up correctly. Requires BTWB_EMAIL and a password stored in Keychain (service: btwb-password) - see README "Automatic cookie refresh".
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_session_cookie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||