跳到正文
所有工具

create_referral_invites

诊断与系统 · macOS · Windows

效果: 写入. 状态: 受限可用.

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

macOS

用途

为用户选择邀请的同事记录推荐邀请,并为每个人返回唯一的推荐链接,以便用户之后查看谁安装或激活了 LMCP。它本身不会发送任何内容——每个返回的链接可以放入发给该人的邮件或消息中。`lang` 记录邀请所用的语言(例如 "es"、"en")。首次调用返回预览;confirm: true 才会记录邀请。

必填输入

输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。

权限与确认

架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。

英文规范技术架构 — macOS
{
  "properties": {
    "confirm": {
      "description": "Must be true to record the invites. Without it the call returns a preview and records nothing.",
      "type": "boolean"
    },
    "lang": {
      "description": "ISO language of the invite you're writing (the user's conversation language, e.g. 'es', 'en'). Defaults to the Mac's language.",
      "type": "string"
    },
    "recipients": {
      "description": "The picked recipients.",
      "items": {
        "properties": {
          "email": {
            "description": "Recipient's email",
            "type": "string"
          },
          "name": {
            "description": "Recipient's name",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "recipients"
  ],
  "type": "object"
}

文档示例

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

{
  "confirm": false,
  "recipients": [
    {
      "email": "alex@example.com",
      "name": "Alex Rivera"
    }
  ]
}

Windows

用途

为用户选择邀请的同事记录推荐邀请,并为每个人返回唯一的推荐链接,以便用户之后查看谁安装或激活了 LMCP。它本身不会发送任何内容——每个返回的链接可以放入发给该人的邮件或消息中。`lang` 记录邀请所用的语言(例如 "es"、"en")。首次调用返回预览,指明收件人,不记录任何内容;confirm=true 才会记录。

必填输入

输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。

权限与确认

架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。

英文规范技术架构 — Windows
{
  "properties": {
    "confirm": {
      "description": "Must be true to record the invites. Without it, returns a preview.",
      "type": "boolean"
    },
    "lang": {
      "description": "ISO language of the invite you're writing (the user's conversation language, e.g. 'es', 'en').",
      "type": "string"
    },
    "recipients": {
      "description": "The picked recipients.",
      "items": {
        "properties": {
          "email": {
            "description": "Recipient's email",
            "type": "string"
          },
          "name": {
            "description": "Recipient's name",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "recipients"
  ],
  "type": "object"
}

文档示例

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

{
  "confirm": false,
  "recipients": [
    {
      "email": "alex@example.com",
      "name": "Alex Rivera"
    }
  ]
}