onenote_insert_rich_content
Append formatted text, lists, tables, and images to a OneNote page by supplying XHTML or a local image path.
Instructions
Append rich content to a page: a well-formed XHTML fragment and/or an image from a local file path. Supported blocks: h1-h6 (rendered as sized bold text), p, ul/ol with nested lists, table/tr/th/td, pre (Consolas lines), blockquote, div (recursed). Inline: b/strong, i/em, u, code, a href, span with style. Multiple sibling root elements are fine. The fragment must parse as XML — self-close void tags and match every open tag. Provide html and/or image_path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Well-formed XHTML fragment. Block elements become OneNote paragraphs/lists/tables; headings render as sized bold text. | |
| page_id | Yes | Page object ID. Required. | |
| image_path | No | Absolute path to an image file to embed. |