所有工具

get_contact

联系人 · macOS

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

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

macOS

用途

根据名称或 ID 从 Mac 的通讯录应用(Contacts.app)获取联系人。传入 `name` 可直接按名称查找,无需先调用 search_contacts;若有多人匹配,会返回一个紧凑列表供选择。也可传入 `contact_id` 进行精确查找。若使用 Microsoft 365,请改用 m365_get_contact。

必填输入

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

权限与确认

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

英文规范技术架构macOS
{
  "properties": {
    "contact_id": {
      "description": "Exact identifier from list_contacts/search_contacts. Provide this OR name.",
      "type": "string"
    },
    "name": {
      "description": "Full or partial contact name — the one-step path. Provide this OR contact_id.",
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}

文档示例

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

{
  "name": "Alex Rivera"
}