batch_add_items
Add multiple tasks or projects to OmniFocus in a single operation, streamlining task management with structured input for names, notes, dates, tags, and project or task relationships.
Instructions
Add multiple tasks or projects to OmniFocus in a single operation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | Array of items (tasks or projects) to add |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"description": "Array of items (tasks or projects) to add",
"items": {
"additionalProperties": false,
"properties": {
"deferDate": {
"description": "The defer date in ISO format (YYYY-MM-DD or full ISO date)",
"type": "string"
},
"dueDate": {
"description": "The due date in ISO format (YYYY-MM-DD or full ISO date)",
"type": "string"
},
"estimatedMinutes": {
"description": "Estimated time to complete the item, in minutes",
"type": "number"
},
"flagged": {
"description": "Whether the item is flagged or not",
"type": "boolean"
},
"folderName": {
"description": "For projects: The name of the folder to add the project to",
"type": "string"
},
"name": {
"description": "The name of the item",
"type": "string"
},
"note": {
"description": "Additional notes for the item",
"type": "string"
},
"parentTaskId": {
"description": "For tasks: The ID of the parent task to create this task as a subtask",
"type": "string"
},
"parentTaskName": {
"description": "For tasks: The name of the parent task to create this task as a subtask",
"type": "string"
},
"projectName": {
"description": "For tasks: The name of the project to add the task to",
"type": "string"
},
"sequential": {
"description": "For projects: Whether tasks in the project should be sequential",
"type": "boolean"
},
"tags": {
"description": "Tags to assign to the item",
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"description": "Type of item to add ('task' or 'project')",
"enum": [
"task",
"project"
],
"type": "string"
}
},
"required": [
"type",
"name"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}