sync_platform_auth
Synchronize or reset local login state for Zhihu and Weibo via browser credential sync, QR-code login, or logout.
Instructions
同步或重置平台本地登录态。sync_browser 从本机 Edge/Chrome 解密同步(推荐零摩擦,仅 Windows);qr_login 弹本机浏览器窗口扫码(需图形界面,最多等 120 秒);logout 清除本地凭证。所有返回均脱敏。调用前请征得用户同意。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platform": "<platform>",
"method": "<method>"
},
"name": "sync_platform_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | sync_browser 从本机 Edge/Chrome 解密同步(推荐零摩擦);qr_login 弹本机浏览器窗口扫码(最多等 120s);logout 清除本地凭证 | |
| platform | Yes | 目前支持知乎与微博的本机浏览器自动同步与官方扫码登录 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| platform | Yes | ||
| username | No | ||
| authenticated | Yes | ||
| next_step_hint | No |