create_contact
联系人 · Windows
效果: 写入. 状态: 受限可用.
“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。
Windows
用途
在 Windows 上的 Microsoft Outlook 联系人中(其默认联系人文件夹)创建联系人:姓名、公司、电话、电子邮件,以及取自本地图片的照片。需要名字、姓氏或公司之一。返回新的 contact_id。要将其加入群组,请使用 add_contact_to_group。与 Mac 上一样,不写入备注。
必填输入
此平台的架构未声明必填输入,但仍可能存在可选选择器或运行时要求。
权限与确认
架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。
- 仅使用用户在此平台上授权的应用、账户和资源。请查阅此工具针对平台的说明,以了解其连接和权限要求;本目录不声称需要额外的 OAuth 范围或操作系统授权。
英文规范技术架构 — Windows
{
"properties": {
"company": {
"description": "Company or organization.",
"type": "string"
},
"confirm": {
"description": "Ignored; kept for older clients.",
"type": "boolean"
},
"emails": {
"description": "Email addresses, as a JSON array or comma-separated.",
"type": "string"
},
"first_name": {
"description": "Given name.",
"type": "string"
},
"last_name": {
"description": "Family name.",
"type": "string"
},
"phones": {
"description": "Phone numbers, as a JSON array or comma-separated (with the country code, e.g. +54 11 5555 0001).",
"type": "string"
},
"photo_path": {
"description": "Absolute path of a local image (PNG, JPEG, GIF or BMP, up to 10 MB) to use as the contact's photo.",
"type": "string"
}
},
"required": [],
"type": "object"
}文档示例
create_contact 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。
{
"company": "Example Co",
"confirm": false,
"emails": "alex@example.com",
"first_name": "Alex",
"last_name": "Rivera",
"phones": "+1 555 0100"
}