Toggle task
toggle_taskToggles a Markdown task checkbox on a specific line of an Obsidian note using the vault-relative path and line number.
Instructions
Toggle a Markdown task checkbox on a given line (use list_tasks to find the line number).
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": {
"path": "<path>",
"line": "<line>"
},
"name": "toggle_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | 1-based line number of the task | |
| path | Yes | Vault-relative path to the note |