xchat_get_history
Retrieve decrypted message history from an XChat DM conversation, including timestamps, sender, and direction, without marking it as read on X.
Instructions
Read messages from one XChat (encrypted DM) conversation.
Note: returns PRIVATE decrypted message text from your own machine. Reading here does NOT mark the conversation read on X.
Returns JSON messages oldest-first: text, timestamp,
direction (incoming/outgoing), sender_screen_name,
sequence_number, has_attachment.
Args: conversation_id: From xchat_list_conversations. limit: Max messages, most recent kept (1-500, default 50).
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": {
"conversation_id": "<conversation_id>"
},
"name": "xchat_get_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| conversation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |