所有工具

complete_omnifocus_task

OmniFocus · macOS

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

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

macOS

用途

通过任务 ID 或名称将 OmniFocus 任务标记为已完成。需要 confirm=true。

必填输入

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

权限与确认

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

英文规范技术架构macOS
{
  "properties": {
    "confirm": {
      "description": "Must be true to complete; called without it, returns a preview.",
      "type": "boolean"
    },
    "task_id": {
      "description": "Exact task id from list_omnifocus_tasks (preferred). Provide this OR task_name.",
      "type": "string"
    },
    "task_name": {
      "description": "Task title to match when you don't have the id.",
      "type": "string"
    }
  },
  "type": "object"
}

文档示例

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

{
  "confirm": false,
  "task_id": "demo-task-001"
}