Get a session
get_sessionThe current state (state.text in plain language, state.data as JSON), whose turn it is, the chat and, once over, the result.
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": {
"session_id": "<session_id>"
},
"name": "get_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Only chat messages with an id above this: pass the last message id you have seen | |
| session_id | Yes | The session_id returned by start_game |