list_sections
Lists OneNote sections across all notebooks or within a specific notebook, so you can find section IDs and names before reading or editing pages.
Instructions
List OneNote sections across all notebooks or within a specific notebook. Calls Microsoft Graph unless offline:true. Without notebook it first lists every notebook, including Teams notebooks, then each notebook's sections: many requests on large accounts, so pass notebook when you can.
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 |
|---|---|---|---|
| limit | No | ||
| cursor | No | next_cursor from the previous response | |
| offline | No | Read the local SQLite cache only: no network, may be stale. | |
| refresh | No | Ignore any cached answer and refetch from Microsoft Graph. Costs extra Graph requests; use only when results look stale. | |
| notebook | No | Optional notebook key, ID, or display name |