project_template_save
Save an OmniFocus project as a reusable template with customizable parameter placeholders for future project creation.
Instructions
Capture a project as a reusable template under the Templates folder (env OMNIFOCUS_TEMPLATES_FOLDER_NAME). Metadata is stored in a fenced YAML block at the top of the template-project note; TaskPaper body sits below. Do NOT use to duplicate a one-off project — prefer task_duplicate. Returns { templateId, templateName, capturedAt }. Side effects: writes folder + project; sets meta.syncPending = true. Example: { projectId: "p_001", templateName: "Client onboarding", parameterNames: ["client"] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Source project to capture. | |
| templateName | Yes | Display name; must be unique within the Templates folder. | |
| parameterNames | No | Optional placeholder names for future _instantiate substitution. |