List Sections
list-sectionsList sections from OneNote notebooks. Filter by notebook ID or section group ID to retrieve specific sections.
Instructions
List sections. Provide notebookId to list sections in a notebook, sectionGroupId to list sections in a section group, or omit both to list all sections across all notebooks.
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 | Notebook ID to scope the listing | |
| sectionGroupId | No | Section group ID to scope the listing. Takes precedence over notebookId if both are provided. |