toggle_task_status_tool
Toggle a task's checkbox between incomplete and completed in an Obsidian note, with optional done date stamp.
Instructions
Toggle task completion status between incomplete and completed (filesystem-native).
Toggles the checkbox between - [ ] (incomplete) and - [x] (completed).
Optionally adds a done date (✅ YYYY-MM-DD) when marking tasks as complete.
When to use:
Marking tasks complete
Unchecking accidentally completed tasks
Batch status updates via automation
Returns: Success status, new status, done date (if added), and updated line
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to file containing the task (relative to vault) | |
| line_number | Yes | Line number containing the task | |
| add_done_date | No | Add ✅ done date when completing task | |
| vault_path | No | Path to vault (optional, uses OBSIDIAN_VAULT_PATH env if not provided) | |
| ctx | No |