Get Session History
lyzr_session_historyRetrieve a session's complete message history using its session ID to review past interactions and maintain context.
Instructions
Fetch a session's message history.
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": "lyzr_session_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unix | No | Return timestamps as unix epochs | |
| session_id | Yes | Session id |