onenote_get_notebook_toc
Generate a table of contents for a OneNote notebook to map all sections and pages for quick navigation. Returns a Markdown overview with stats and per-section page lists.
Instructions
Generate a table of contents for a OneNote notebook.
Creates a comprehensive overview of all sections and pages, useful for navigation.
Return Format
Markdown string: "📚 Table of Contents: " with stats and per-section page lists.
Examples
onenote_get_notebook_toc(notebook_id="0-ABC123...")
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": {
"notebook_id": "<notebook_id>"
},
"name": "onenote_get_notebook_toc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook_id | Yes | The ID of the notebook |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |