List Session Messages (v3)
lyzr_session3_list_messagesRetrieve message history from a v3 session by session ID, with optional filters for role, timestamp, and pagination to narrow results.
Instructions
List messages in a v3 session, with optional filters.
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_session3_list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Filter by message role (e.g. user, assistant) | |
| after | No | Only return messages with created_at after this ISO timestamp | |
| limit | No | Max results to return (default 20) | |
| offset | No | Pagination offset (default 0) | |
| session_id | Yes | Session id |