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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"line_number": "<line_number>"
},
"name": "toggle_task_status_tool"
}
}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 |