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.
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": "chase_auth_clear"
}
}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); } }