export_opml
Export OmniFocus projects as OPML XML for structured outline imports. Choose scope: project, folder, or all active projects.
Instructions
Export OmniFocus data as OPML XML — a structured outline format OmniFocus can import. Do NOT use to export a single task; OPML scope is project-level or broader. Three scopes: 'project' (one project + its tasks), 'folder' (all projects in a folder), or 'all' (all active projects). Returns { opml, projectCount, taskCount } where opml is a complete XML string. Safe to call repeatedly; no side effects. Example: export_opml({ scope: "project", id: "abc123" }) Example: export_opml({ scope: "all" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Required when scope='project' (project ID from project_list) or scope='folder' (folder ID from folder_list). Omit for scope='all'. | |
| scope | Yes | What to export: 'project' (one project), 'folder' (all projects in a folder), or 'all' (all active projects). |