chase_auth_clear
Reset Chase session cookies to log out and clear authentication state. Use this to end a session or troubleshoot authentication issues.
Instructions
Clear stored Chase session cookies. Use this to log out or reset authentication state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:59-67 (registration)Registration of the chase_auth_clear tool in the ListTools handler, defining its name, description, and empty input schema.
{ name: "chase_auth_clear", description: "Clear stored Chase session cookies. Use this to log out or reset authentication state.", inputSchema: { type: "object", properties: {}, }, }, - src/index.ts:266-279 (handler)Handler for chase_auth_clear tool execution: calls clearCookies() and returns a success message.
case "chase_auth_clear": { clearCookies(); return { content: [ { type: "text", text: JSON.stringify({ success: true, message: "Chase session cleared. You will need to log in again.", }), }, ], }; } - src/auth.ts:66-74 (helper)Helper function that deletes the stored cookies file at ~/.strider/chase/cookies.json to clear the Chase session.
export function clearCookies(): void { try { if (fs.existsSync(COOKIES_PATH)) { fs.unlinkSync(COOKIES_PATH); } } catch (error) { console.error("Failed to clear cookies:", error); } }