list_direct_messages
Retrieve direct messages exchanged with a specific user. Filter results by message ID to get messages before or after a certain point.
Instructions
List direct messages with another user.
Args:
other_user_id: The ID of the other user in the conversation.
before_id: Return messages created before this message ID.
since_id: Return messages created after this message ID.
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": {
"other_user_id": "<other_user_id>"
},
"name": "list_direct_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since_id | No | ||
| before_id | No | ||
| other_user_id | Yes |