List sections
listSectionsList OneNote sections across notebooks, including those nested inside section groups. Use when you need a flat list of sections.
Instructions
List sections, including those nested inside section groups. Prefer getOutline unless you specifically want a flat list.
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": "listSections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return. Results are paginated internally. | |
| notebook | No | Notebook name or ID to scope to. Omit for all notebooks. |