Get Session History by Agent
lyzr_session_history_by_agentFetch a session's message history for a specific agent. Provide session and agent IDs to access the full conversation log.
Instructions
Fetch a session's message history for a specific agent.
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>",
"agent_id": "<agent_id>"
},
"name": "lyzr_session_history_by_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unix | No | Return timestamps as unix epochs | |
| agent_id | Yes | Agent id | |
| session_id | Yes | Session id |