get_custom_perspective_tasks
Retrieve tasks from a specific OmniFocus custom perspective by name, showing hierarchical task relationships or flat views. Exclude or include completed tasks as needed for focused task management.
Instructions
Get tasks from a specific OmniFocus custom perspective by name. Use this when user refers to perspective names like '今日工作安排', '今日复盘', '本周项目' etc. - these are custom views created in OmniFocus, NOT tags. Supports hierarchical tree display of task relationships.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
hideCompleted | No | Whether to hide completed tasks. Set to false to show all tasks including completed ones (default: true) | |
limit | No | Maximum number of tasks to return in flat view mode (default: 1000, ignored in hierarchy mode) | |
perspectiveName | Yes | Exact name of the OmniFocus custom perspective (e.g., '今日工作安排', '今日复盘', '本周项目'). This is NOT a tag name. | |
showHierarchy | No | Display tasks in hierarchical tree structure showing parent-child relationships. Use this when user wants '层级显示' or 'tree view' (default: false) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"hideCompleted": {
"description": "Whether to hide completed tasks. Set to false to show all tasks including completed ones (default: true)",
"type": "boolean"
},
"limit": {
"description": "Maximum number of tasks to return in flat view mode (default: 1000, ignored in hierarchy mode)",
"type": "number"
},
"perspectiveName": {
"description": "Exact name of the OmniFocus custom perspective (e.g., '今日工作安排', '今日复盘', '本周项目'). This is NOT a tag name.",
"type": "string"
},
"showHierarchy": {
"description": "Display tasks in hierarchical tree structure showing parent-child relationships. Use this when user wants '层级显示' or 'tree view' (default: false)",
"type": "boolean"
}
},
"required": [
"perspectiveName"
],
"type": "object"
}