所有工具

todo_create_task

提醒事项与 Microsoft To Do · macOS · Windows

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

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

macOS

用途

在 Microsoft To Do 中创建任务(通过提醒事项同步)。同步后,该任务会自动出现在 To Do 中。

必填输入

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

权限与确认

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

英文规范技术架构macOS
{
  "properties": {
    "confirm": {
      "description": "Must be true to create",
      "type": "boolean"
    },
    "due_date": {
      "description": "Due date (YYYY-MM-DD, optional)",
      "type": "string"
    },
    "list": {
      "description": "List name (from todo_get_folders). Defaults to first available list.",
      "type": "string"
    },
    "notes": {
      "description": "Task notes (optional)",
      "type": "string"
    },
    "priority": {
      "description": "Priority: 1=high, 5=medium, 9=low (optional)",
      "type": "integer"
    },
    "title": {
      "description": "Task title",
      "type": "string"
    }
  },
  "required": [
    "title"
  ],
  "type": "object"
}

文档示例

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

{
  "confirm": false,
  "title": "Planning meeting"
}

Windows

用途

在 Microsoft To Do / Outlook Tasks 中创建任务。

必填输入

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

权限与确认

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

英文规范技术架构Windows
{
  "properties": {
    "body": {
      "description": "Task notes (optional)",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to create",
      "type": "boolean"
    },
    "due_date": {
      "description": "Due date (YYYY-MM-DD, optional)",
      "type": "string"
    },
    "notes": {
      "description": "Alias for `body` — the name the cloud catalog (Mac) advertises.",
      "type": "string"
    },
    "subject": {
      "description": "Task title",
      "type": "string"
    },
    "title": {
      "description": "Alias for `subject` — the name the cloud catalog (Mac) advertises.",
      "type": "string"
    }
  },
  "type": "object"
}

文档示例

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

{
  "confirm": false,
  "title": "Planning meeting"
}