unw_session
Check UNW session authentication, cookie expiry, and state-file age before using other tools; get repair hints and the exact CLI command to fix an expired session.
Instructions
Check the UNW session: authenticated (live check), degraded (state
exists but the live check failed), state-file age, cookie count and earliest
cookie expiry (values are never exposed), plus read_hint/write_hint
and the exact packaged CLI command that repairs an expired session. Call this
before any other tool. If unauthenticated but degraded, try one read tool
before asking for a login.
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": "unw_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||