openclaw_sessions_history
Fetch message history for a session, with options to limit results and include tool calls.
Instructions
Fetch message history for a session
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": {
"sessionKey": "<sessionKey>"
},
"name": "openclaw_sessions_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionKey | Yes | Session key to fetch history for | |
| limit | No | Max messages to return | |
| includeTools | No | Include tool calls in history |