getAuthStatus
getAuthStatus: Check whether the current session is authenticated. Returns authenticated status and token expiry. Optional: sessionKey (from checkDeviceLoginStatus).
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": "getAuthStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | No | ||
| authenticated | No | ||
| tokenExpiresIn | No |