get_person_messages
Find all messages sent by a specific person across all chats. Filter results by platform, chat type, time range, and include context.
Instructions
Get all messages sent by a specific person across all chats.
Args:
person_name: Name of the person to search for
limit: Maximum number of messages per chat (default 50)
platform: Filter by platform ("WhatsApp", "Telegram", etc.)
chat_type: Filter by chat type ("dm", "group", or "all")
days_back: Only include messages from the last N days
include_context: Include surrounding messages for context
Returns:
List of ChatSearchResult objects, each containing a chat and the person's messages in that chat
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": {
"person_name": "<person_name>"
},
"name": "get_person_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| platform | No | ||
| chat_type | No | ||
| days_back | No | ||
| person_name | Yes | ||
| include_context | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |