Read Local State
srift_read_stateReads raw .srift-state.json contents to return session and active transfer snapshots for one-shot polling without subscribing to SSE.
Instructions
Return the raw .srift-state.json contents (session + active transfers snapshot). Useful for one-shot polling without subscribing to SSE.
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": "srift_read_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Current session state snapshot | |
| lastUpdated | No | Last state write timestamp | |
| activeTransfers | No | Live transfers array |