checkDeviceLoginStatus
checkDeviceLoginStatus: Poll for device login completion. Call this after loginWithDevice() once you have opened the verification URL and signed in. Required: deviceCode (the device_code returned by loginWithDevice). On success returns a sessionKey; pass it as the sessionKey argument on every subsequent authenticated tool call.
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": {
"deviceCode": "<deviceCode>"
},
"name": "checkDeviceLoginStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceCode | Yes | The device_code value returned by loginWithDevice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| message | No | ||
| success | No | ||
| expiresIn | No | ||
| tokenType | No | ||
| sessionKey | No |