所有工具

search_messages

iMessage 与信息 · macOS

效果: 读取. 状态: 受限可用.

“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。

macOS

用途

按内容、发件人姓名或日期范围搜索 iMessage 对话。

必填输入

此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构macOS
{
  "properties": {
    "from_sender": {
      "description": "Substring of sender name/handle to filter by (optional)",
      "type": "string"
    },
    "limit": {
      "description": "Max results (default 30)",
      "type": "integer"
    },
    "query": {
      "description": "Text to search for in message content (optional if from_sender is set)",
      "type": "string"
    },
    "since": {
      "description": "ISO8601 date — only return messages on or after this date (optional, e.g. '2026-04-10' or '2026-04-10T00:00:00Z')",
      "type": "string"
    },
    "until": {
      "description": "ISO8601 date — only return messages on or before this date (optional). Combine with 'since' to search a date range with no text query.",
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

search_messages 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "limit": 5,
  "query": "launch checklist"
}