登出網頁聊天服務(不開瀏覽器視窗)
webchat_logoutClear cookies for the chosen web chat service (ChatGPT, Claude, Grok, or Gemini) from the built-in browser profile, then re-check login state to complete logout.
Instructions
Log out of the chosen service by clearing its cookies from the built-in browser profile (headless, no window shown), then re-check the login state. Logging out of gemini clears google.com cookies, which signs the profile out of Google. Use webchat_login to log in again. Guest use (where the service allows it) keeps working.
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": "webchat_logout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | Which web chat service to use: chatgpt (ChatGPT), claude (Claude), grok (Grok), gemini (Gemini). Default chatgpt. | chatgpt |