get_messages_by_date
Retrieve text messages from all chats for a specific local date, filter by sent or received, and optionally extract attachment text. Read-only; no messages are sent or modified.
Instructions
按本机日期读取所有聊天中的短信,可筛选已发送/已接收,并默认尝试提取附件文字。只读,不会发送或修改任何信息。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_messages_by_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 本机日期,格式为 YYYY-MM-DD。不填时默认今天。 | |
| limit | No | 最多返回多少条短信。 | |
| offset | No | 分页偏移量。 | |
| direction | No | all 表示全部短信,sent 表示我发送的短信,received 表示我收到的短信。 | all |
| include_attachments | No | 是否在每条短信下附带附件元数据和本机路径。 | |
| attachment_max_bytes | No | 每个附件最多返回多少字节的提取文本。 | |
| include_attachment_content | No | 是否尝试把图片、PDF、文档等附件中的文字一起提取并返回。 |