Get DM history
get_dm_historyRetrieve direct-message history with another user by username. Optionally filter by date range, message text, or limit results to review past conversations.
Instructions
Read the direct-message conversation between the authenticated user and another user. Supports the same client-side filter as get_channel_history.
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": {
"username": "<username>"
},
"name": "get_dm_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only messages on/after this date, YYYY-MM-DD (inclusive) | |
| limit | No | Max messages to return (default 50) | |
| before | No | Only messages on/before this date, YYYY-MM-DD (inclusive) | |
| filter | No | Case-insensitive substring to match in message text | |
| username | Yes | The other user's username, e.g. 'jane' or '@jane' |