copy_section
Copies a OneNote section and all its pages into a destination notebook or section group, with optional renaming and guardrail-blocked pages excluded.
Instructions
Copy a section (with all its pages) into a notebook or section group. Work/school accounts copy in the background (check with get_operation); personal accounts copy page by page immediately (slower for big sections). Pages blocked by the guardrail are left out.
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": {
"toNotebook": "<toNotebook>"
},
"name": "copy_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | No | Section name | |
| notebook | No | Notebook name | |
| renameAs | No | Name for the copy | |
| sectionId | No | Section id (takes precedence over names) | |
| toNotebook | Yes | Destination notebook name | |
| sectionGroup | No | Section group name, to pick a section inside a group | |
| toSectionGroup | No | Destination section group name (inside toNotebook) |