getPageContent
Extract content from OneNote pages by specifying a page ID and desired format (text, HTML, or summary), enabling direct retrieval of readable, raw, or concise information for efficient data access and management.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Format of the content: text (readable), html (raw), or summary (brief). | text |
pageId | Yes | The ID of the page to retrieve content from. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"format": {
"default": "text",
"description": "Format of the content: text (readable), html (raw), or summary (brief).",
"enum": [
"text",
"html",
"summary"
],
"type": "string"
},
"pageId": {
"description": "The ID of the page to retrieve content from.",
"type": "string"
}
},
"required": [
"pageId"
],
"type": "object"
}