get_login_status
Checks whether the user is logged in, returns login expiry and CAD terms consent status, and renews an expiring session when possible so you know if sign-in or consent action is needed.
Instructions
查看目前的登入狀態與 CAD 條款的同意情況。
回傳是否已登入、登入的到期時間(ISO-8601 UTC)、已同意與尚未同意的條款(misumi_cad、 cadenas、smc_eula)。登入到期或即將到期時,這個工具會先續期一次再回答,所以可能等待 一次連線的時間。續期沒有完成(無法連到 MISUMI、逾時、暫時被限速或封鎖)而登入已過期 時,logged_in 是 false,並有 reason(expired_unconfirmed)與 message 說明目前無法確認 登入能否延續;可稍後再呼叫,或請真人開啟 login_url 重新登入。尚未登入或缺少條款時, login_url 是登入頁網址,請真人開啟並重新輸入帳號密碼、勾選缺少的條款;不需要時 login_url 是 null。
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": "get_login_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||