List Sections
list_sectionsRetrieve OneNote section IDs by notebook or across all notebooks, providing the required input for creating pages.
Instructions
Lists OneNote sections, optionally scoped to a single notebook by ID. Section IDs are needed by create_page.
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": "list_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebookId | No | Optional notebook ID to scope the listing. If omitted, lists sections across all notebooks. |