task_batch_defer_smart
Defers multiple OmniFocus tasks with individual smart intents (e.g., next work day, next weekday) in a single batch. Returns per-entry success or failure without aborting the entire operation.
Instructions
Batch variant of task_defer_smart: accepts an array of { taskId, intent } and resolves each intent independently. Same intent grammar as task_defer_smart. Do NOT use this for a single task — prefer task_defer_smart for one entry. Returns { results: [{ taskId, ok: true, resolvedDeferDate, reason } | { taskId, ok: false, error }] } — per-entry failures surface inline so one malformed entry does not abort the others. Side effects: writes the resolved deferDate to each successful task; dry_run skips writes. Triggers a sync when any entry succeeds. Example: task_batch_defer_smart({ entries: [{ taskId: '...', intent: { kind: 'next-work-day' } }] })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | When true, resolves every intent but does NOT write to OmniFocus. Useful for previewing the batch's resolved dates before committing. | |
| entries | Yes | Array of { taskId, intent } pairs. Per-entry failures surface in the results array; one bad entry does not abort siblings. | |
| idempotency_key | No | Idempotency key. Identical subsequent calls within the TTL window replay the original results envelope with meta.idempotentReplay = true. |