get_session_conversation
Retrieve a past conversation by providing a session ID. Optionally include tool call details and limit the number of messages returned.
Instructions
Get the conversation from a specific session.
Retrieves the user and assistant messages from a session in chronological order, allowing you to review a past conversation.
Args: session_id: The session ID (full or partial) to retrieve include_tool_calls: Whether to include tool call details (default: False) max_messages: Maximum number of messages to return (default: 50)
Returns: List of messages from the session in chronological order
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_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| max_messages | No | ||
| include_tool_calls | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |