toggle_task
Mark tasks as complete or incomplete in Obsidian notes using file references or line numbers to manage task status.
Instructions
Toggle a task's completion status. Identify the task by 'ref' (path:line) or by 'file' and 'line' together.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "toggle_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Task reference in path:line format (e.g. 'Recipe.md:8') | |
| file | No | Note name containing the task | |
| line | No | Line number of the task |