Get Session Status
srift_session_statusGet current session details: session { id, role (host/guest), connection state, your userId }, pending join requests (approve with srift_approve_join), and members with their userIds (remove one with srift_kick_user).
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_session_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | The active session (id is null when there is none) | |
| peerCount | No | Number of connected sockets in the room (hosted endpoint) | |
| participants | No | Session members: pass userId to srift_kick_user to remove one | |
| pendingJoins | No | List of pending guest join requests waiting for host approval |