toggle_todo
Set or toggle a OneNote checkbox by block ID or zero-based to-do index, with optional completed state, conflict checking, and compact responses.
Instructions
Set or toggle a OneNote checkbox by block_id or zero-based todo_index.
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": {
"page": "<page>"
},
"name": "toggle_todo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| force | No | Override conflict check when true | |
| compact | No | Default true. Set false to include the full page object in the response. | |
| section | No | Optional section name, Notebook/Section path, ID, or scoped key to narrow title lookup | |
| block_id | No | ||
| completed | No | Set this state; omit to toggle | |
| todo_index | No | ||
| expected_content | No | Baseline to-do block content from prior read; aborts with conflict if remote changed |