Get Project Tasks
omnifocus_get_project_tasksRetrieve all tasks, including subtasks, for a specified OmniFocus project. Optionally include completed tasks and set a limit on the number returned.
Instructions
Get all tasks belonging to a specific project in OmniFocus.
Returns the tasks within a project, including subtasks. Use omnifocus_list_projects to find project IDs first.
Args:
projectId (string): The ID of the project
includeCompleted (boolean): Include completed tasks (default: false)
limit (number): Maximum tasks to return, 1-500 (default: 100)
Returns: Array of task objects with: id, name, note, completed, flagged, dueDate, deferDate, estimatedMinutes, tags, parentTaskId, parentTaskName, hasChildren, childTaskCount
Examples:
Get tasks for a project: { projectId: "abc123" }
Include completed: { projectId: "abc123", includeCompleted: true }
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "omnifocus_get_project_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of tasks to return | |
| projectId | Yes | The ID of the project to get tasks for | |
| includeCompleted | No | Include completed tasks |