task_toggle
Toggle task status between pending and completed in Obsidian notes by specifying file path and line number.
Instructions
Toggle a task between pending [ ] and completed [x]
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": {
"sourcePath": "<sourcePath>",
"lineNumber": "<lineNumber>"
},
"name": "task_toggle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourcePath | Yes | Path of the note containing the task | |
| lineNumber | Yes | Line number of the task to toggle |