get_messages
Retrieve conversation messages for a specific contact or conversation. Supports pagination to control page size and page number.
Instructions
Get conversation messages for a contact or conversation.
Args:
target: Phone number (e.g. "85264318721") or conversation ID
page_size: Messages per page (max 100, default 20)
page_number: Page number, 1-based (default 1)
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": {
"target": "<target>"
},
"name": "get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| page_size | No | ||
| page_number | No |