enable_service
诊断与系统 · macOS · Windows
效果: 写入. 状态: 受限可用.
“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。
macOS
用途
在用户关闭某项服务之后,在 LMCP 中重新打开它。当某个工具报告其服务已关闭(service_off)或被标记为 «I don't use this»(service_dismissed)时使用。已关闭的服务可直接从这台电脑上的 AI 客户端打开;通过云中继,以及对于被标记为 dismissed 的服务,则需要本人确认:不传 confirm 时,只描述将会返回的内容,不会改动任何内容;传入 confirm=true 则会将该应用恢复到 My apps。对于 Calendar、Reminders 和 Contacts,操作系统权限是独立的——此工具会报告 macOS 是否已授予,以及用户必须在哪里接受对话框(它出现在运行 LMCP 的 Mac 上,通过 Cloud Relay 时,那可能不是用户所在的位置)。
必填输入
service
输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。
权限与确认
架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。
- 仅使用用户在此平台上授权的应用、账户和资源。请查阅此工具针对平台的说明,以了解其连接和权限要求;本目录不声称需要额外的 OAuth 范围或操作系统授权。
英文规范技术架构 — macOS
{
"properties": {
"confirm": {
"description": "For a service marked «I don't use this», or any call through the cloud relay: true after the person confirmed turning it on.",
"type": "boolean"
},
"service": {
"description": "Service id, e.g. 'calendar', 'reminders', 'contacts', 'mail', 'notes', 'messages', 'teams', 'slack'.",
"type": "string"
}
},
"required": [
"service"
],
"type": "object"
}文档示例
enable_service 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。
{
"confirm": false,
"service": "calendar"
}Windows
用途
在用户关闭某项服务之后,在 LMCP 中重新打开它。当某个工具报告其服务已关闭(service_off)或被标记为 «I don't use this»(service_dismissed)时使用。被标记为 dismissed 的服务,以及任何通过云中继的调用,都需要本人确认:不传 confirm 时,只描述将会返回的内容,不会改动任何内容;传入 confirm=true 则会将该应用恢复到 My apps。服务是用户的偏好设置,而不是故障:打开服务是安全的,并且可以从 LMCP 的图标 → My apps → Turn on,在其所在行中撤销。在 Windows 上不涉及操作系统权限——打开即可。
必填输入
service
输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。
权限与确认
架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。
- 仅使用用户在此平台上授权的应用、账户和资源。请查阅此工具针对平台的说明,以了解其连接和权限要求;本目录不声称需要额外的 OAuth 范围或操作系统授权。
英文规范技术架构 — Windows
{
"properties": {
"confirm": {
"description": "For a service marked «I don't use this», or any call through the cloud relay: true after the person confirmed turning it on.",
"type": "boolean"
},
"service": {
"description": "Service id as LMCP names it on this platform: outlook, m365, teams, slack, onedrive, gdrive, office, explorer, tasks, whatsapp, telegram, servicenow, evernote, zoom, obsidian, thunderbird, proton, webauto, mesh, nordvpn, todoist.",
"type": "string"
}
},
"required": [
"service"
],
"type": "object"
}文档示例
enable_service 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。
{
"confirm": false,
"service": "outlook"
}