Get Perspective Tasks
omnifocus_get_perspective_tasksRetrieve tasks from a specific OmniFocus perspective. Provide the perspective name to get its task list, with an optional limit on the number of tasks returned.
Instructions
Get tasks shown in a specific OmniFocus perspective.
Switches the front OmniFocus window to the named perspective, reads the tasks it displays, then restores the original perspective.
Args:
perspectiveName (string): Name of the perspective (use omnifocus_list_perspectives to find names)
limit (number): Maximum tasks to return, 1-500 (default: 50)
Returns: Array of task objects with: id, name, note, completed, flagged, dueDate, deferDate, projectName, tags, estimatedMinutes
Examples:
Get tasks from a perspective: { perspectiveName: "Next" }
With limit: { perspectiveName: "Forecast", limit: 10 }
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": {
"perspectiveName": "<perspectiveName>"
},
"name": "omnifocus_get_perspective_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of tasks to return | |
| perspectiveName | Yes | The name of the perspective to get tasks from |