Check login status
login_statusCheck authorization status for DingTalk or WeCom, determine if the login process is still running, and retrieve any QR code, recent output, and exit code.
Instructions
查询登录状态:是否已授权、登录进程是否仍在运行、二维码(若可用)、最近输出与退出码。
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": {
"provider": "<provider>"
},
"name": "login_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | IM 平台标识:dingtalk=钉钉,wecom=企业微信 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| auth | No | auth 查询的原始结果 | |
| hint | Yes | ||
| error | No | ||
| output | No | 登录进程最近输出 | |
| running | Yes | ||
| exitCode | No | ||
| provider | Yes | ||
| userCode | No | 设备码流程的验证码(钉钉 device 模式) | |
| authError | No | ||
| qrDataUrl | No | ||
| authorized | Yes |