Archive Task
archive_taskFull Description
Archive a task to hide it from default task views.
When to use:
- User wants to hide a completed project they no longer need to see
- User wants to archive an old grocery/shopping list
- User says "archive this", "hide this list", "I don't need this anymore"
- Cleaning up old tasks without deleting them
Works on ALL task types:
- FINITE tasks: Archive completed or abandoned tasks
- PROJECT tasks: Archive completed projects
- ONGOING_LIST tasks: Archive lists no longer in use (e.g., old "Groceries" list)
Unlike mark_complete:
- Works on ONGOING_LIST tasks (lists cannot be "completed", only archived)
- Semantic: "archive" = hide from view, "complete" = finished
Archived tasks can be restored later (unarchive feature coming soon).
This is a GATED action - only call after explicit user confirmation.
IMPORTANT: The result is displayed in a visual widget. Do NOT repeat the task name in your text response - just give a brief acknowledgment like "Archived!" or "Done."
Parameters (1 required, 2 optional)
taskIdstringID of the task to archive (required)
idempotencyKeystringUnique key to prevent duplicate archiving on retry
reasonstringOptional reason for archiving (e.g., "No longer needed")