get_page
Read a OneNote page and return compact Markdown by default, or request specific fields, raw XHTML, or offline cached copies to inspect content without pulling full page data.
Instructions
Read a OneNote page. Returns compact Markdown by default; pass fields (e.g. ["blocks","resources"]) to fetch specific fields without full raw_xhtml, or compact:false for everything. Fetches from Microsoft Graph unless offline:true; compact:false can be large.
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": {
"page": "<page>"
},
"name": "get_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page key, ID, or title | |
| fields | No | Optional list of specific page fields to return (e.g. blocks, resources, body_markdown, body_plain, raw_xhtml, primary_div_id, web_url, created_at, content_url, summary). Always includes id, page_key, and title; unknown names are returned in missing_fields. | |
| compact | No | Default true. Set false for blocks[].element_id, raw_xhtml and resources. | |
| offline | No | Return the cached copy of the page without contacting Microsoft Graph. | |
| section | No | Optional section name, Notebook/Section path, ID, or scoped key to narrow title lookup |