> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft OneNote

> Digital notebook for capturing and organizing notes, drawings, and information

![Microsoft OneNote logo](https://mintcdn.com/composio-preview/gqjBKmmJCINafaiK/images/toolkits/onenote.svg?fit=max\&auto=format\&n=gqjBKmmJCINafaiK\&q=85\&s=f83330c1a32e967575541bb5659903bd)

* **Category:** productivity
* **Auth:** OAUTH2
* **Composio-managed OAuth available?** Yes
* **Tools:** 87
* **Triggers:** 0
* **Slug:** `ONENOTE`
* **Version:** 20261103\_00

## Tools

> [accordion] Copy notebook in group
>
> **Slug:** `ONENOTE_COPY_ONENOTE_GROUP_NOTEBOOK`
>
> Copies a OneNote notebook to the Notebooks folder in the destination Documents library. The notebook is copied asynchronously. This action initiates the copy operation and returns a 202 Accepted response with an Operation-Location header. Use the OnenoteOperationGet action to poll the Operation-Location endpoint to check the status of the copy operation until it completes. Use this action when you need to duplicate a notebook within a Microsoft 365 group, or copy it to a different group's documents library. The copied notebook's folder is created in the destination Documents library if it doesn't exist.
>
> #### Input Parameters
>
> **groupId** `string`
>
> The ID of the destination Microsoft 365 group to copy the notebook to. Use only when copying to a different Microsoft 365 group.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group containing the notebook.
>
> **renameAs** `string`
>
> The name to assign to the copied notebook. If not specified, the copy retains the name of the original notebook.
>
> **notebook\_id** `string` *required*
>
> The unique identifier of the OneNote notebook to copy.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Copy notebook in site
>
> **Slug:** `ONENOTE_COPY_ONENOTE_SITE_NOTEBOOK`
>
> Copies a OneNote notebook within a SharePoint site. Use this action when you need to duplicate a notebook within a SharePoint site. This is an asynchronous operation. Poll the returned operation URL to check whether the copy has completed.
>
> #### Input Parameters
>
> **folder** `string`
>
> Deprecated compatibility field. Microsoft Graph does not accept a destination folder for this operation.
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site containing the notebook.
>
> **renameAs** `string`
>
> The name to assign to the copied notebook. If not specified, the copy retains the name of the original notebook.
>
> **notebook\_id** `string` *required*
>
> The unique identifier of the OneNote notebook to copy.
>
> **destinationId** `string`
>
> Deprecated compatibility field. The live Graph operation copies within the site identified by site\_id.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Copy section to notebook (site context)
>
> **Slug:** `ONENOTE_COPY_SECTION_TO_NOTEBOOK2`
>
> Copy a site-hosted OneNote section to a notebook in the same SharePoint site. The copy is asynchronous; poll the returned operation URL for its status.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> The ID of the destination notebook.
>
> **site\_id** `string` *required*
>
> The composite Graph ID of the SharePoint site containing the source section (hostname,siteCollectionId,webId).
>
> **group\_id** `string`
>
> Legacy destination Microsoft 365 group ID retained for compatibility.
>
> **rename\_as** `string`
>
> Name for the copied section. Defaults to the source section name.
>
> **section\_id** `string` *required*
>
> The ID of the source OneNote section.
>
> **notebook\_id** `string`
>
> Deprecated and ignored. Graph identifies the source section directly by section\_id.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Copy section to notebook (user)
>
> **Slug:** `ONENOTE_COPY_SECTION_TO_NOTEBOOK_FOR_USER2`
>
> Copies a user's OneNote section to a specified notebook. The operation is asynchronous and returns an operation location to poll for the final outcome; the copy does not remove the source section.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> The unique identifier of the destination notebook to copy the section into. Required.
>
> **user\_id** `string` *required*
>
> The unique identifier (ID or userPrincipalName) of the user who owns the section.
>
> **group\_id** `string`
>
> The ID of the Microsoft 365 group to copy the section to. Use only when copying to a Microsoft 365 group.
>
> **rename\_as** `string`
>
> The name to assign to the copied section. If not specified, defaults to the name of the original section.
>
> **section\_id** `string` *required*
>
> The unique identifier of the OneNote section to copy.
>
> **notebook\_id** `string`
>
> Deprecated and ignored. The section ID uniquely identifies the source section.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Copy group section to section group
>
> **Slug:** `ONENOTE_COPY_SECTION_TO_SECTION_GROUP`
>
> Copies a OneNote section from a Microsoft 365 group's notebook into another section group. Use this action when you need to duplicate an existing OneNote section that lives in a Microsoft 365 group's notebook into a different section group. The operation is asynchronous and returns an Operation-Location header that should be polled to get the final result. The copy is additive and does not remove the source section. Poll the returned Operation-Location value to determine the final outcome.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> The unique identifier of the destination section group where the section will be copied. Required.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group whose notebook owns the source section.
>
> **rename\_as** `string`
>
> The name to assign to the copied section. If not specified, defaults to the name of the original section.
>
> **section\_id** `string` *required*
>
> The unique identifier of the source section to copy.
>
> **destination\_group\_id** `string`
>
> The destination Microsoft 365 group ID. Omit when copying within the source group.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Copy section to section group (user)
>
> **Slug:** `ONENOTE_COPY_SECTION_TO_SECTION_GROUP_FOR_USER`
>
> Copies a user's OneNote section to a specified section group. The operation is asynchronous and returns an operation location to poll for the final outcome; the copy does not remove the source section.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> The unique identifier of the destination section group where the section will be copied. Required.
>
> **user\_id** `string` *required*
>
> The unique identifier (ID or userPrincipalName) of the user who owns the section.
>
> **group\_id** `string`
>
> The ID of the Microsoft 365 group to copy to. Use only when copying to a Microsoft 365 group.
>
> **rename\_as** `string`
>
> The name to assign to the copied section. If not specified, defaults to the name of the original section.
>
> **section\_id** `string` *required*
>
> The unique identifier of the source section to copy.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Copy site page to section
>
> **Slug:** `ONENOTE_COPY_SITE_PAGE_TO_SECTION3`
>
> Copy a site-hosted OneNote page to a section natively.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> The destination section ID.
>
> **siteId** `string`
>
> Legacy destination web override. Defaults to the third component of site\_id.
>
> **groupId** `string`
>
> The destination Microsoft 365 group ID.
>
> **page\_id** `string` *required*
>
> The unique identifier of the page to copy.
>
> **site\_id** `string` *required*
>
> The composite Graph ID of the SharePoint site containing the page (hostname,siteCollectionId,webId).
>
> **siteCollectionId** `string`
>
> Legacy destination site collection override. Defaults to the second component of site\_id.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Copy user notebook
>
> **Slug:** `ONENOTE_COPY_USER_NOTEBOOK`
>
> Start an asynchronous copy of a user OneNote notebook.
>
> #### Input Parameters
>
> **user\_id** `string`
>
> Source user ID or principal name. Defaults to the signed-in user (`me`).
>
> **rename\_as** `string`
>
> Optional name for the copied notebook.
>
> **notebook\_id** `string` *required*
>
> ID of the notebook to copy.
>
> **destination\_group\_id** `string`
>
> Destination Microsoft 365 group ID. Omit to copy within the user's library.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Copy user page to section
>
> **Slug:** `ONENOTE_COPY_USER_PAGE_TO_SECTION`
>
> Start an asynchronous copy of a user's OneNote page to a specified section, optionally in a Microsoft 365 group. The returned operation location can be polled to determine the outcome.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Required. The unique identifier of the destination section to copy the page to.
>
> **groupId** `string`
>
> The unique identifier of the destination Microsoft 365 group. Use only when copying to a group.
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to copy.
>
> **user\_id** `string` *required*
>
> The unique identifier or user principal name of the user who owns the page.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Count user section group sections
>
> **Slug:** `ONENOTE_COUNT_NOTEBOOKS_SECTION_GROUPS_SECTIONS`
>
> Gets the provider-reported count of OneNote sections directly within a user's section group. Use this action when you need to quickly determine the number of sections in a section group without retrieving the full list of section objects. This is a read-only operation.
>
> #### Input Parameters
>
> **user\_id** `string` *required*
>
> The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.
>
> **section\_group\_id** `string` *required*
>
> The unique identifier of the section group whose sections to count.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Count site section group sections
>
> **Slug:** `ONENOTE_COUNT_SITE_NOTEBOOK_SECTION_GROUPS_SECTIONS`
>
> Gets the provider-reported count of sections directly within a SharePoint site's OneNote section group. Use this action when you need to quickly determine the number of sections in a section group without retrieving the full list of section objects. Microsoft Graph requires the `ConsistencyLevel: eventual` header when using the `$count=true` query parameter on OneNote endpoints.
>
> #### Input Parameters
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site.
>
> **notebook\_id** `string`
>
> Deprecated and ignored. The section group ID uniquely identifies the section group.
>
> **section\_group\_id** `string` *required*
>
> The unique identifier of the section group whose sections to count.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create group nested section group
>
> **Slug:** `ONENOTE_CREATE_GROUP_NESTED_SECTION_GROUP`
>
> Create a section group inside another group OneNote section group.
>
> #### Input Parameters
>
> **group\_id** `string` *required*
>
> Microsoft 365 group ID.
>
> **display\_name** `string` *required*
>
> Name for the nested section group. It must be unique at this level.
>
> **section\_group\_id** `string` *required*
>
> Parent section group ID.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create group notebook
>
> **Slug:** `ONENOTE_CREATE_GROUP_NOTEBOOK`
>
> Creates a new OneNote notebook within a Microsoft 365 group. Use this action when you need to create a new notebook for storing notes within a specific Microsoft 365 group. The notebook will be owned by the specified group and accessible to all members of that group with appropriate permissions. Required permissions: Notes.Create (least privileged), Notes.ReadWrite, or Notes.ReadWrite.All for the group.
>
> #### Input Parameters
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group that will own the notebook.
>
> **display\_name** `string` *required*
>
> The name of the new notebook. Maximum 128 characters; cannot contain ? \* / : \< > | ' or ". Ampersands are allowed.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create group OneNote page
>
> **Slug:** `ONENOTE_CREATE_GROUP_PAGES`
>
> Creates a new OneNote page in the default section of the default notebook for a Microsoft 365 group. Use this action when you need to programmatically create a new page in a group's OneNote notebook. The page content must be provided as HTML. The page will be created in the default section of the default notebook unless a specific section name is provided via the sectionName query parameter.
>
> #### Input Parameters
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **resources** `array`
>
> Optional named binary resources referenced from html\_content as name:\<resource name>.
>
> **html\_content** `string` *required*
>
> The HTML content for the OneNote page. Must be valid HTML including html, head, and body tags.
>
> **section\_name** `string`
>
> Optional section name to create the page in a specific section of the default notebook. If the section doesn't exist, a new section will be created.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create section in section group
>
> **Slug:** `ONENOTE_CREATE_GROUP_SECTION_GROUPS_SECTIONS`
>
> Creates a new OneNote section within a specified section group of a Microsoft 365 group. Use this action when you need to add a new section to organize OneNote pages within a section group's hierarchy within a group. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?\*/:\<>|\&#''%\~. Repeating the call with the same display name may create duplicate sections depending on the API's handling of unique-name constraints.
>
> #### Input Parameters
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **display\_name** `string` *required*
>
> The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?\*/:\<>|\&#''%\~
>
> **section\_group\_id** `string` *required*
>
> The unique identifier of the section group within the group.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create user notebook
>
> **Slug:** `ONENOTE_CREATE_ME_NOTEBOOKS`
>
> Creates a new OneNote notebook for the signed-in user. Use this action when you need to create a new personal notebook to organize notes. The notebook will be created in the user's default OneDrive for Business location. Notebook names must be unique, cannot exceed 128 characters, and cannot contain ? \* / : \< > | ' or ". Ampersands are allowed. Returns the full created notebook object including the server-assigned ID and URLs for accessing sections.
>
> #### Input Parameters
>
> **display\_name** `string` *required*
>
> The name of the new notebook. Maximum 128 characters; cannot contain ? \* / : \< > | ' or ". Ampersands are allowed.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create section in user's section group
>
> **Slug:** `ONENOTE_CREATE_ME_SECTION_GROUPS_SECTIONS`
>
> Creates a new OneNote section within a specified section group of a notebook for the signed-in user. Use this action when you need to add a new section to organize OneNote pages within a user's section group hierarchy. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?\*/:\<>|\&#''%\~. Repeating the call with the same display name may create duplicate sections depending on the API's handling of unique-name constraints.
>
> #### Input Parameters
>
> **display\_name** `string` *required*
>
> The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?\*/:\<>|\&#''%\~
>
> **section\_group\_id** `string` *required*
>
> The unique identifier of the section group within the notebook.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create OneNote page in section
>
> **Slug:** `ONENOTE_CREATE_ME_SECTIONS_PAGES`
>
> Creates a OneNote page in a specified section for the signed-in user from an HTML content fragment, with an optional title and creation timestamp. Images and attachments can be referenced by external URLs or supplied as named binary resources.
>
> #### Input Parameters
>
> **resources** `array`
>
> Optional named binary resources referenced from html\_content as name:\<resource name>.
>
> **page\_title** `string`
>
> The title for the OneNote page.
>
> **section\_id** `string` *required*
>
> The unique identifier of the OneNote section where the page will be created.
>
> **html\_content** `string` *required*
>
> The HTML body content for the OneNote page (an HTML fragment, not a full document). The action wraps this fragment in \<html>\<head>\<title>\{page\_title}\</title>\</head>\<body>...\</body>\</html>, so do not include outer html/head/body tags. Reference images via external URLs.
>
> **page\_created\_datetime** `string`
>
> The date and time when the page was created in ISO 8601 format (UTC). Example: 2015-07-22T09:00:00-08:00. If not provided, current time is used.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create section group in group notebook
>
> **Slug:** `ONENOTE_CREATE_ONENOTE_GROUP_NOTEBOOKS_SECTION_GROUPS`
>
> Creates a new section group within a OneNote notebook that belongs to a Microsoft 365 group. Use this action when you need to organize sections inside a group notebook by creating a new top-level section group to hold related sections together. The displayName must be 50 characters or fewer and cannot contain the characters ? \* / : \< > | & # ' % \~. Section group names must be unique within the same hierarchy level in the notebook.
>
> #### Input Parameters
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group that owns the notebook.
>
> **notebook\_id** `string` *required*
>
> The unique identifier of the OneNote notebook in the group.
>
> **display\_name** `string` *required*
>
> The name of the new section group. Must be 50 characters or fewer. Cannot contain the characters: ? \* / : \< > | & # ' % \~
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create site nested section group
>
> **Slug:** `ONENOTE_CREATE_SITE_NESTED_SECTION_GROUP`
>
> Create a section group inside another site OneNote section group.
>
> #### Input Parameters
>
> **site\_id** `string` *required*
>
> SharePoint site ID, or `root`.
>
> **display\_name** `string` *required*
>
> Name for the nested section group. It must be unique at this level.
>
> **section\_group\_id** `string` *required*
>
> Parent section group ID.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create site notebook
>
> **Slug:** `ONENOTE_CREATE_SITE_NOTEBOOK`
>
> Create a OneNote notebook in a SharePoint site.
>
> #### Input Parameters
>
> **site\_id** `string` *required*
>
> SharePoint site ID, or `root`.
>
> **display\_name** `string` *required*
>
> Unique notebook name. It cannot contain ? \* / : \< > | ' or double quotes.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create section in site notebook
>
> **Slug:** `ONENOTE_CREATE_SITE_NOTEBOOKS_SECTIONS`
>
> Create a OneNote section in a specified notebook in a SharePoint site or, when no site is supplied, in the signed-in user's OneNote. The section name must be unique at the same hierarchy level, be no longer than 50 characters, and exclude ?\*/:\<>|\&#'%\~.
>
> #### Input Parameters
>
> **site\_id** `string`
>
> The unique identifier of the SharePoint site that contains the notebook. Optional - if not provided, uses the user's personal OneNote.
>
> **notebook\_id** `string` *required*
>
> The unique identifier of the OneNote notebook within the site.
>
> **display\_name** `string` *required*
>
> The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?\*/:\<>|\&#''%\~
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create site section page
>
> **Slug:** `ONENOTE_CREATE_SITE_SECTION_PAGE`
>
> Create a OneNote page from HTML in a SharePoint site's section.
>
> #### Input Parameters
>
> **site\_id** `string` *required*
>
> Concrete Microsoft Graph site ID. The value `root` is not accepted by this OneNote route.
>
> **resources** `array`
>
> Optional named binary resources referenced from html\_content as name:\<resource name>.
>
> **page\_title** `string`
>
> The title for the OneNote page.
>
> **section\_id** `string` *required*
>
> The unique identifier of the target OneNote section.
>
> **html\_content** `string` *required*
>
> The HTML body fragment for the OneNote page. Do not include outer html, head, or body tags.
>
> **page\_created\_datetime** `string`
>
> The optional page creation time in ISO 8601 format.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create user nested section group
>
> **Slug:** `ONENOTE_CREATE_USER_NESTED_SECTION_GROUP`
>
> Create a section group inside another user OneNote section group.
>
> #### Input Parameters
>
> **user\_id** `string`
>
> User ID or user principal name. Defaults to the signed-in user (`me`).
>
> **display\_name** `string` *required*
>
> Name for the nested section group. It must be unique at this level.
>
> **section\_group\_id** `string` *required*
>
> Parent section group ID.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create section in user notebook
>
> **Slug:** `ONENOTE_CREATE_USER_NOTEBOOKS_SECTIONS`
>
> Creates a OneNote section in a specified user's notebook and returns available created-section details. The section name must be unique within the same hierarchy level, no longer than 50 characters, and cannot contain ?\*/:\<>|\&#'%\~.
>
> #### Input Parameters
>
> **user\_id** `string` *required*
>
> The unique identifier of the user. Use 'me' for the current signed-in user.
>
> **notebook\_id** `string` *required*
>
> The unique identifier of the OneNote notebook.
>
> **display\_name** `string` *required*
>
> The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?\*/:\<>|\&#''%\~
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create user OneNote page
>
> **Slug:** `ONENOTE_CREATE_USER_PAGES`
>
> Creates a new OneNote page in the default section of the default notebook for a specific user. Use this action when you need to programmatically create a new page in a user's OneNote notebook. The page content must be provided as HTML. The page will be created in the default section of the default notebook unless a specific section name is provided via the sectionName query parameter.
>
> #### Input Parameters
>
> **user\_id** `string` *required*
>
> The unique identifier or user principal name (UPN) of the user who owns the OneNote notebook.
>
> **resources** `array`
>
> Optional named binary resources referenced from html\_content as name:\<resource name>.
>
> **html\_content** `string` *required*
>
> The HTML content for the OneNote page. Must be valid HTML including html, head, and body tags.
>
> **section\_name** `string`
>
> Optional section name to create the page in a specific section of the default notebook. If the section doesn't exist, a new section will be created.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create section in user section group
>
> **Slug:** `ONENOTE_CREATE_USER_SECTION_GROUPS_SECTIONS`
>
> Creates a new OneNote section within a specified section group for a specific user. Use this action when you need to add a new section to organize OneNote pages within a section group's hierarchy for a specific user's notebook. The section name must be unique within the same hierarchy level, cannot exceed 50 characters, and cannot contain the characters: ?\*/:\<>|\&#''%\~. Repeating the call with the same display name may create duplicate sections depending on the API's handling of unique-name constraints.
>
> #### Input Parameters
>
> **user\_id** `string` *required*
>
> The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.
>
> **display\_name** `string` *required*
>
> The name of the new section. Must be 50 characters or fewer and cannot contain the characters: ?\*/:\<>|\&#''%\~
>
> **section\_group\_id** `string` *required*
>
> The unique identifier of the section group.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create user section page
>
> **Slug:** `ONENOTE_CREATE_USER_SECTIONS_PAGES4`
>
> Creates a OneNote page in a specified user's section using HTML content, with optional named binary resources. When a title or creation time is supplied, the action wraps the content in an HTML document; otherwise, provide a complete HTML document.
>
> #### Input Parameters
>
> **user\_id** `string` *required*
>
> The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.
>
> **resources** `array`
>
> Optional named binary resources referenced from html\_content as name:\<resource name>.
>
> **page\_title** `string`
>
> The title for the OneNote page. Required when page\_created\_datetime is provided, because OneNote requires a title in the HTML head section generated by this action.
>
> **section\_id** `string` *required*
>
> The unique identifier of the OneNote section where the page will be created.
>
> **html\_content** `string` *required*
>
> The HTML for the OneNote page. If neither page\_title nor page\_created\_datetime is provided, send a complete HTML document (with html/head/body tags). If either is provided, send only the body fragment — the action wraps it in \<html>\<head>\<title>\{page\_title}\</title>...\</head>\<body>...\</body>\</html> for you, so do not include outer html/head/body tags in that case.
>
> **page\_created\_datetime** `string`
>
> The date and time when the page was created in ISO 8601 format (UTC). Example: 2015-07-22T09:00:00-08:00. If not provided, current time is used.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete group section page
>
> **Slug:** `ONENOTE_DELETE_ONENOTE_GROUP_SECTION_GROUP_PAGE_CONTENT`
>
> Deletes a OneNote page within a Microsoft 365 group's OneNote workspace. Canonical action for this group page deletion route. Microsoft Graph returns 204 No Content after accepting the deletion; OneNote retention policies may still apply.
>
> #### Input Parameters
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to delete.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **section\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> **section\_group\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete OneNote page from section
>
> **Slug:** `ONENOTE_DELETE_ONENOTE_GROUP_SECTIONS_PAGES2`
>
> Delete a OneNote page by page ID within a Microsoft 365 group. Legacy notebook and section IDs are ignored; OneNote retention policies may apply.
>
> #### Input Parameters
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to delete.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **section\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> **notebook\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete OneNote page from site
>
> **Slug:** `ONENOTE_DELETE_SITE_PAGES`
>
> Deletes a OneNote page from a SharePoint site. Use this action to delete a OneNote page from a SharePoint site's OneNote workspace. Microsoft Graph returns 204 No Content after accepting the deletion; OneNote retention policies may still apply.
>
> #### Input Parameters
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to delete.
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site. Can be the site hostname or server-relative path.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete user OneNote page from section
>
> **Slug:** `ONENOTE_DELETE_USER_ONENOTE_SECTIONS_PAGES`
>
> Deletes a OneNote page by page ID for a specified user or the current user; OneNote retention policies may still apply. Notebook, section group, and section IDs are ignored and do not constrain the deletion.
>
> #### Input Parameters
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to delete.
>
> **user\_id** `string` *required*
>
> The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.
>
> **section\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> **notebook\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> **section\_group\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete OneNote page for user
>
> **Slug:** `ONENOTE_DELETE_USER_PAGES`
>
> Deletes a OneNote page from a user's OneNote workspace. Canonical action for this user page deletion route. Microsoft Graph returns 204 No Content after accepting the deletion; OneNote retention policies may still apply. Use this action when you need to remove an unwanted OneNote page from a user's notebook that has been shared with the current user.
>
> #### Input Parameters
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to delete.
>
> **user\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 user.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get a OneNote section from a group
>
> **Slug:** `ONENOTE_GET_GROUP_SECTIONS`
>
> Retrieves a specific OneNote section from a Microsoft 365 group. Use this action when you need to fetch metadata or details for a single OneNote section by specifying the group ID and section ID. This action supports OData query parameters for selecting specific properties and expanding relationships like parentNotebook or parentSectionGroup.
>
> #### Input Parameters
>
> **expand** `array`
>
> List of relationships to expand inline in the response. Valid values: parentNotebook, parentSectionGroup.
>
> **select** `array`
>
> Comma-separated list of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **section\_id** `string` *required*
>
> The unique identifier of the OneNote section to retrieve.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get OneNote resource content by ID
>
> **Slug:** `ONENOTE_GET_ME_ONENOTE_RESOURCES_VALUE`
>
> Retrieves the binary content of a OneNote resource by ID from the signed-in user's notebooks. The content is returned as a base64-encoded string, along with the content type and length when available.
>
> #### Input Parameters
>
> **resource\_id** `string` *required*
>
> The unique identifier of the OneNote resource (e.g., image, file attachment, or other embedded content).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get OneNote page content from section
>
> **Slug:** `ONENOTE_GET_ME_SECTION_PAGE_CONTENT`
>
> Retrieves the HTML content of a specific OneNote page from a section for the signed-in user. Use this action when you need to fetch the full HTML content of a OneNote page within a specific section. This endpoint provides access to page content for processing, rendering, or exporting page data. The returned HTML includes text, images, and other embedded content references. This action is read-only and does not modify any data.
>
> #### Input Parameters
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page. This can be the full resource path including the section ID.
>
> **include\_ids** `boolean`
>
> Optional. When set to true, the returned HTML includes IDs for page elements. Useful when you need to identify elements for updates or modifications.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get notebook from web URL
>
> **Slug:** `ONENOTE_GET_NOTEBOOK_FROM_WEB_URL`
>
> Retrieves a OneNote notebook by using its web URL path. Use this action when you have the SharePoint or OneDrive URL of a notebook and need to retrieve its properties and metadata. The webUrl parameter accepts both standard HTTPS URLs and OneNote protocol URLs with the 'onenote:' prefix. This API is available in the following national cloud deployments: Global service only. Required permissions: Notes.Create (delegated) or Notes.Read.All (application).
>
> #### Input Parameters
>
> **user\_id** `string` *required*
>
> The unique identifier (ID) or user principal name (UPN) of the user whose notebook to retrieve.
>
> **web\_url** `string` *required*
>
> The URL path of the notebook to retrieve. Can also contain an 'onenote:' prefix.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get notebook section group
>
> **Slug:** `ONENOTE_GET_NOTEBOOK_SECTION_GROUP`
>
> Retrieves a specific section group from a OneNote notebook within a Microsoft 365 group. Use this action when you need to get details about a specific section group, including its name, creation/modification timestamps, and links to its sections and nested section groups.
>
> #### Input Parameters
>
> **expand** `string`
>
> List of relationships to expand. A legacy comma-separated string is also accepted.
>
> **select** `string`
>
> Comma-separated list of properties to include in the response.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **section\_group\_id** `string` *required*
>
> The unique identifier of the section group within the group's OneNote.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get group OneNote operation status
>
> **Slug:** `ONENOTE_GET_ONENOTE_GROUP_OPERATIONS`
>
> Retrieves the status of a long-running OneNote operation for a group. Use this action when you need to check whether a copy or sync operation (e.g., CopyNotebook, CopyToNotebook, CopyToSectionGroup, CopyToSection) has completed, failed, or is still in progress.
>
> #### Input Parameters
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group that owns the OneNote notebook.
>
> **operation\_id** `string` *required*
>
> The unique identifier of the long-running OneNote operation to retrieve.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get a OneNote page from a group
>
> **Slug:** `ONENOTE_GET_ONENOTE_GROUP_SECTIONS_PAGES`
>
> Retrieves OneNote page metadata directly by page ID in a Microsoft 365 group. Legacy notebook, section group, and section IDs do not affect the Graph route.
>
> #### Input Parameters
>
> **expand** `array`
>
> List of relationships to expand inline in the response. Valid values: parentSection, parentNotebook.
>
> **select** `array`
>
> Comma-separated list of page properties to include in the response. Valid values include: id, self, title, createdDateTime, lastModifiedDateTime, content, contentUrl, createdByAppId, level, order, links, parentSection, parentNotebook.
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to retrieve.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **pagelevel** `boolean`
>
> Set to true to include the page's level and order in its section.
>
> **section\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> **notebook\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> **section\_group\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get site OneNote operation status
>
> **Slug:** `ONENOTE_GET_ONENOTE_SITE_OPERATIONS`
>
> Retrieves the status of a long-running OneNote operation for a SharePoint site. Use this action when you need to check whether a copy or sync operation (e.g., CopyNotebook, CopyToNotebook, CopyToSectionGroup, CopyToSection) has completed, failed, or is still in progress for a site.
>
> #### Input Parameters
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site that owns the OneNote notebook. This can be the server-relative path (e.g., contoso.sharepoint.com,3e3b477e-21ed-448b-a7fe-573b718dc5ff,3d7e3c8f-7133-4b2d-ba53-418d9ef48bab).
>
> **operation\_id** `string` *required*
>
> The unique identifier of the long-running OneNote operation to retrieve.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get OneNote page content for user
>
> **Slug:** `ONENOTE_GET_ONENOTE_USER_PAGE_CONTENT`
>
> Gets the HTML content of a specific OneNote page for a user. Use this action when you need to retrieve the actual HTML content of a specific OneNote page for reading, processing, or displaying page content. The action supports the includeIDs query parameter to include element IDs in the HTML, which is useful when preparing content for page updates via the PATCH endpoint.
>
> #### Input Parameters
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to get content from.
>
> **user\_id** `string` *required*
>
> The unique identifier of the Microsoft Graph user. Use 'me' for the current user, or specify a user ID (GUID) or user principal name (email).
>
> **include\_ids** `boolean`
>
> When true, the returned HTML includes IDs that can be used to update the page. Use this when preparing content for page updates.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get a OneNote page
>
> **Slug:** `ONENOTE_GET_PAGE`
>
> Retrieves metadata and properties of a specific OneNote page from the authenticated user's notebooks. Use this action when you need to fetch details about a OneNote page by its ID without navigating the full notebook/section hierarchy. This returns page metadata including title, creation date, modification date, and optional expanded parent relationships. For retrieving the HTML content of a page, use the dedicated page content endpoint instead.
>
> #### Input Parameters
>
> **expand** `array`
>
> List of relationships to expand inline in the response. Valid values: parentSection, parentNotebook.
>
> **select** `array`
>
> List of page properties to include in the response. Valid values include: id, self, title, createdDateTime, lastModifiedDateTime, content, contentUrl, createdByAppId, level, order, links, parentSection, parentNotebook.
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to retrieve.
>
> **pagelevel** `boolean`
>
> Set to true to include the page's level and order in its section.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get recent notebooks
>
> **Slug:** `ONENOTE_GET_RECENT_NOTEBOOKS`
>
> Retrieves a list of recently accessed OneNote notebooks for the signed-in user. Use this action when you need to display recently accessed notebooks, provide quick access to notebooks the user has been working with, or build a recent notebooks feature. The notebooks are returned in order of most recent access. Set includePersonalNotebooks to true to include notebooks owned by the user, or false to exclude them.
>
> #### Input Parameters
>
> **top** `integer`
>
> Deprecated and ignored. This endpoint does not support this legacy pagination input.
>
> **skip** `integer`
>
> Deprecated and ignored. This endpoint does not support this legacy pagination input.
>
> **count** `boolean`
>
> Deprecated and ignored. This endpoint does not support this legacy count input.
>
> **filter** `string`
>
> Deprecated and ignored. This endpoint does not support this legacy filter input.
>
> **search** `string`
>
> Deprecated and ignored. This endpoint does not support this legacy search input.
>
> **include\_personal\_notebooks** `boolean` *required*
>
> Include notebooks owned by the user. Set to true to include notebooks owned by the user; set to false to exclude them. This parameter is required.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get a OneNote section by ID
>
> **Slug:** `ONENOTE_GET_SECTION`
>
> Retrieves a specific OneNote section by its ID from the current user's OneNote. Use this action when you need to fetch metadata or details for a single OneNote section by specifying only the section ID, without requiring additional context like group, user, or site IDs. This action supports OData query parameters for selecting specific properties and expanding relationships like parentNotebook or parentSectionGroup.
>
> #### Input Parameters
>
> **expand** `array`
>
> List of relationships to expand inline in the response. Valid values: parentNotebook, parentSectionGroup.
>
> **select** `array`
>
> List of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.
>
> **section\_id** `string` *required*
>
> The unique identifier of the OneNote section to retrieve.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get OneNote page from site
>
> **Slug:** `ONENOTE_GET_SITE_ONENOTE_PAGES`
>
> Retrieves a specific OneNote page from a SharePoint site. Use this action when you need to fetch metadata or details for a single OneNote page by its page identifier within a SharePoint site. This action supports optional OData query parameters to select specific properties or expand related entities like parentSection and parentNotebook. Note: This action is read-only and does not modify any data. It is the canonical action for the site page metadata route.
>
> #### Input Parameters
>
> **expand** `array`
>
> List of relationships to expand inline in the response. Valid values: 'parentSection', 'parentNotebook'.
>
> **select** `array`
>
> List of page properties to include in the response. Common values: 'id', 'title', 'createdDateTime', 'lastModifiedDateTime', 'content', 'contentUrl', 'createdByAppId', 'level', 'order', 'links', 'parentSection', 'parentNotebook'.
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to retrieve. This is the full page ID including any section path prefix (e.g., '1-abc123!71-7aef1f00-3deb-4ee2-93ab-979eb24a3037').
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site. Use 'root' for the root site. For SharePoint sites, this is typically in the format: hostname,site-collection-id,site-id (e.g., 'contoso.sharepoint.com,12345678-1234-1234-1234-123456789012,87654321-4321-4321-4321-210987654321').
>
> **pagelevel** `boolean`
>
> Set to true to include the page's level and order in its section.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get site notebook page preview
>
> **Slug:** `ONENOTE_GET_SITE_PAGES_PREVIEW`
>
> Retrieves a text preview of a specific OneNote page from a SharePoint site or the signed-in user's OneNote. Use this action when you need to quickly get the content preview of a OneNote page from a site-hosted notebook without fetching the full page content. The preview returns a text snippet of the page's content. This action is read-only and does not modify any data.
>
> #### Input Parameters
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page.
>
> **site\_id** `string`
>
> The unique identifier of the SharePoint site. Optional - if not provided, uses the signed-in user's personal OneNote notebook.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get a OneNote section from a site
>
> **Slug:** `ONENOTE_GET_SITE_SECTIONS`
>
> Retrieves a specific OneNote section from a SharePoint site. Use this action when you need to fetch metadata or details for a single OneNote section by specifying the site ID and section ID. This action supports OData query parameters for selecting specific properties and expanding relationships like parentNotebook or parentSectionGroup.
>
> #### Input Parameters
>
> **expand** `array`
>
> List of relationships to expand inline in the response. Valid values: parentNotebook, parentSectionGroup.
>
> **select** `array`
>
> Comma-separated list of section properties to include in the response. Valid values include: id, self, createdDateTime, displayName, createdBy, lastModifiedBy, lastModifiedDateTime, isDefault, links, pagesUrl, parentNotebook, parentSectionGroup.
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site. Use 'root' for the root site.
>
> **section\_id** `string` *required*
>
> The unique identifier of the OneNote section to retrieve.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get OneNote page from site (compatibility alias)
>
> **Slug:** `ONENOTE_GET_SITE_SECTIONS_PAGES`
>
> Compatibility alias for retrieving OneNote page metadata directly by page ID in a SharePoint site. Prefer GetSiteOnenotePages for new calls. Legacy notebook, section group, and section IDs do not affect the Graph route.
>
> #### Input Parameters
>
> **expand** `array`
>
> List of relationships to expand inline in the response. Valid values: parentSection, parentNotebook.
>
> **select** `array`
>
> Comma-separated list of page properties to include in the response. Valid values include: id, self, title, createdDateTime, lastModifiedDateTime, content, contentUrl, createdByAppId, level, order, links, parentSection, parentNotebook.
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to retrieve.
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site. Use 'root' for the root site.
>
> **pagelevel** `boolean`
>
> Set to true to include the page's level and order in its section.
>
> **section\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> **notebook\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> **section\_group\_id** `string`
>
> Deprecated and ignored. The page ID uniquely identifies the page.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get user notebook
>
> **Slug:** `ONENOTE_GET_USER_NOTEBOOK`
>
> Retrieves the properties and relationships of a OneNote notebook by ID for a specific user. Use this action when you need to fetch details about a specific notebook belonging to a user, including its display name, sharing status, section URLs, and the user's role on the notebook. Supports OData \$select and \$expand query parameters to customize the response.
>
> #### Input Parameters
>
> **expand** `array`
>
> List of relationships to expand (OData \$expand). Valid values: sections, sectionGroups.
>
> **select** `array`
>
> Comma-separated list of notebook properties to include in the response (OData \$select).
>
> **user\_id** `string` *required*
>
> The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.
>
> **notebook\_id** `string` *required*
>
> The unique identifier of the OneNote notebook.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get user OneNote operation
>
> **Slug:** `ONENOTE_GET_USER_OPERATION`
>
> Poll the status of a user's asynchronous OneNote operation.
>
> #### Input Parameters
>
> **user\_id** `string`
>
> User ID or principal name. Defaults to the signed-in user (`me`).
>
> **operation\_id** `string` *required*
>
> OneNote operation ID to poll.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get a OneNote page from user
>
> **Slug:** `ONENOTE_GET_USER_PAGES`
>
> Retrieves metadata for a specific OneNote page by user and page ID, with optional property selection, parent relationship expansion, and page level information.
>
> #### Input Parameters
>
> **expand** `array`
>
> List of relationships to expand inline in the response. Valid values: parentSection, parentNotebook.
>
> **select** `array`
>
> Comma-separated list of page properties to include in the response. Valid values include: id, self, title, createdDateTime, lastModifiedDateTime, content, contentUrl, createdByAppId, level, order, links, parentSection, parentNotebook.
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to retrieve.
>
> **user\_id** `string` *required*
>
> The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.
>
> **pagelevel** `boolean`
>
> Set to true to include the page's level and order in its section.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get parent section group from user section
>
> **Slug:** `ONENOTE_GET_USER_PARENT_SECTION_GROUP2`
>
> Retrieves the parent section group of a OneNote section in a user's notebook. If the response has no parent section group, the tool returns an empty parent object.
>
> #### Input Parameters
>
> **expand** `array`
>
> List of relationships to expand. Valid values: parentNotebook.
>
> **select** `array`
>
> Comma-separated list of properties to select. Valid values: id, displayName, createdDateTime, lastModifiedDateTime, sectionsUrl, sectionGroupsUrl, self, createdBy, lastModifiedBy.
>
> **user\_id** `string` *required*
>
> The unique identifier of the Microsoft Graph user. Use 'me' for the current authenticated user.
>
> **section\_id** `string` *required*
>
> The direct OneNote section ID; it is unique without the legacy notebook ID.
>
> **notebook\_id** `string`
>
> Deprecated and ignored. The section ID uniquely identifies the section.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List group notebooks
>
> **Slug:** `ONENOTE_LIST_GROUP_NOTEBOOKS`
>
> List OneNote notebooks owned by a Microsoft 365 group or Teams team. Use this with a group or team ID, including IDs returned by List joined teams.
>
> #### Input Parameters
>
> **top** `integer`
>
> OData \$top page size. Default is 10; maximum is 100. Microsoft Graph OneNote notebook lists can return a truncated page without @odata.nextLink; use skip with top to request later slices when nextLink is absent.
>
> **skip** `integer`
>
> OData \$skip count for client-side pagination. Use this with top when Microsoft Graph does not return @odata.nextLink.
>
> **count** `boolean`
>
> Set OData \$count=true to ask Microsoft Graph for @odata.count.
>
> **expand** `array`
>
> OData \$expand navigation properties. Valid notebook expansions are sections and sectionGroups.
>
> **filter** `string`
>
> OData \$filter expression for notebook properties.
>
> **select** `array`
>
> OData \$select notebook properties, such as id,displayName,sectionsUrl,sectionGroupsUrl,isShared,userRole.
>
> **orderby** `array`
>
> OData \$orderby properties. Microsoft Graph defaults notebook lists to name ascending.
>
> **group\_id** `string` *required*
>
> The Microsoft 365 group ID. Microsoft Teams team IDs are also Microsoft 365 group IDs, so values returned by LIST\_JOINED\_TEAMS can be passed here.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData query parameters. The OneNote notebooks API may not return nextLink for small top-limited responses; use top and skip in that case.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List notebook section groups
>
> **Slug:** `ONENOTE_LIST_GROUP_NOTEBOOK_SECTION_GROUPS`
>
> Retrieves a list of section groups from the specified notebook within a Microsoft 365 group. Use this action to retrieve a page of section groups in a group-owned OneNote notebook to understand its structure or find a specific section group.
>
> #### Input Parameters
>
> **top** `integer`
>
> The number of items to return in the collection. Default is 10, maximum is 100.
>
> **skip** `integer`
>
> The number of items to skip before returning results. Use with top/page\_size for OneNote client-side pagination.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **expand** `array`
>
> List of navigation properties to expand (e.g., sections, sectionGroups, parentNotebook, parentSectionGroup).
>
> **filter** `string`
>
> OData filter expression to filter the results.
>
> **select** `array`
>
> Comma-separated list of section group properties to include in the response.
>
> **orderby** `array`
>
> Comma-separated list of properties to order results by. Default order is name ascending.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.
>
> **notebook\_id** `string` *required*
>
> The unique identifier of the OneNote notebook within the group.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List pages from a group notebook section
>
> **Slug:** `ONENOTE_LIST_GROUP_NOTEBOOK_SECTION_PAGES`
>
> Compatibility alias for listing a page of OneNote pages from a specific section within a notebook in a Microsoft 365 group. Prefer the canonical ListOnenoteGroupSectionsPages4 action for new calls. Use this action when you need to retrieve a page of pages from a known section in a group notebook. This action accesses pages directly through the section path without going through section groups.
>
> #### Input Parameters
>
> **skip** `integer`
>
> The number of items to skip before returning results. Use with top/page\_size for OneNote client-side pagination.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **filter** `string`
>
> OData filter expression to apply to filter results.
>
> **select** `array`
>
> Comma-separated list of page properties to include in the response. Valid properties include: id, self, title, createdDateTime, lastModifiedDateTime, contentUrl, createdByAppId, level, order, links.
>
> **orderby** `array`
>
> Comma-separated list of properties to order results by. Default order is lastModifiedDateTime descending.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.
>
> **page\_size** `integer`
>
> The number of pages to return per request. Default is 10, maximum is 100.
>
> **pagelevel** `boolean`
>
> Set to true to include each page's level and order in its section.
>
> **section\_id** `string` *required*
>
> The direct OneNote section ID; it is unique without the legacy notebook ID.
>
> **notebook\_id** `string`
>
> Deprecated and ignored. The section ID uniquely identifies the section.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List group notebook sections
>
> **Slug:** `ONENOTE_LIST_GROUP_NOTEBOOK_SECTIONS`
>
> List one result page of sections directly contained in a specified Microsoft 365 group OneNote notebook; while has\_more is true, pass next\_cursor back as cursor to continue.
>
> #### Input Parameters
>
> **top** `integer`
>
> Number of sections to return (1-100).
>
> **skip** `integer`
>
> Number of matching sections to skip.
>
> **count** `boolean`
>
> Include the total collection count.
>
> **cursor** `string`
>
> Opaque cursor returned by a previous call. Omit it for the first page and pass it back unchanged to continue.
>
> **expand** `array`
>
> Parent relationships to expand.
>
> **filter** `string`
>
> OData filter expression.
>
> **select** `array`
>
> Section properties to return, such as `id`, `displayName`, or `createdDateTime`.
>
> **orderby** `array`
>
> OData ordering expressions, such as `displayName asc`. The default order is name ascending.
>
> **group\_id** `string` *required*
>
> Microsoft 365 group ID.
>
> **notebook\_id** `string` *required*
>
> OneNote notebook ID.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List group root section groups
>
> **Slug:** `ONENOTE_LIST_GROUP_ROOT_SECTION_GROUPS`
>
> List section groups at the root of a Microsoft 365 group's OneNote hierarchy.
>
> #### Input Parameters
>
> **top** `integer`
>
> Number of items to return in this page (1-100).
>
> **skip** `integer`
>
> Number of matching items to skip.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **cursor** `string`
>
> Continuation cursor from a previous response's next\_cursor. Omit for the first page; pass the returned value back verbatim to fetch the next page.
>
> **expand** `array`
>
> Relationships to expand in each returned section group.
>
> **filter** `string`
>
> OData filter expression.
>
> **select** `array`
>
> Properties to include in each returned item.
>
> **orderby** `array`
>
> OData order expressions, such as `displayName asc`.
>
> **group\_id** `string` *required*
>
> Microsoft 365 group ID.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List group root sections
>
> **Slug:** `ONENOTE_LIST_GROUP_ROOT_SECTIONS`
>
> List sections at the root of a Microsoft 365 group's OneNote hierarchy.
>
> #### Input Parameters
>
> **top** `integer`
>
> Number of items to return in this page (1-100).
>
> **skip** `integer`
>
> Number of matching items to skip.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **cursor** `string`
>
> Continuation cursor from a previous response's next\_cursor. Omit for the first page; pass the returned value back verbatim to fetch the next page.
>
> **expand** `array`
>
> Relationships to expand in each returned section.
>
> **filter** `string`
>
> OData filter expression.
>
> **select** `array`
>
> Properties to include in each returned item.
>
> **orderby** `array`
>
> OData order expressions, such as `displayName asc`.
>
> **group\_id** `string` *required*
>
> Microsoft 365 group ID.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List section group sections
>
> **Slug:** `ONENOTE_LIST_GROUP_SECTION_GROUPS_SECTIONS`
>
> Lists a paginated collection of OneNote sections from a section group within a Microsoft 365 group's OneNote. Use this action when you need to retrieve the sections contained within a section group in a group-owned OneNote notebook. Supports pagination and filtering via OData query parameters. This is a read-only operation that retrieves existing sections without modifying any data.
>
> #### Input Parameters
>
> **top** `integer`
>
> The number of sections to return per request. Defaults to 10.
>
> **skip** `integer`
>
> The number of items to skip before returning results. Use with top/page\_size for OneNote client-side pagination.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **expand** `array`
>
> List of relationships to expand. Valid values: parentNotebook, parentSectionGroup.
>
> **filter** `string`
>
> OData filter expression to apply to filter results. Example: displayName eq 'My Section'.
>
> **select** `array`
>
> Comma-separated list of section properties to include in the response. Valid values: id, displayName, createdDateTime, lastModifiedDateTime, isDefault, pagesUrl, self, createdBy, lastModifiedBy.
>
> **orderby** `array`
>
> Comma-separated list of properties to order results by. Example: displayName asc.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.
>
> **section\_group\_id** `string` *required*
>
> The unique identifier of the section group within the group's OneNote.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List joined teams
>
> **Slug:** `ONENOTE_LIST_JOINED_TEAMS`
>
> List Microsoft Teams that a user is a direct member of. Use this to get team IDs, which are also Microsoft 365 group IDs, before listing group-owned OneNote notebooks.
>
> #### Input Parameters
>
> **user\_id** `string`
>
> User ID or user principal name whose joined teams should be listed. Use 'me' for the authenticated user.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. The joinedTeams API does not support custom OData query parameters, but nextLink can be used if Graph paginates the result.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List pages in section
>
> **Slug:** `ONENOTE_LIST_ME_ONENOTE_SECTIONS_PAGES4`
>
> Retrieves a list of OneNote pages from a specific section for the current user. Use this action when you need to retrieve a page of pages from a specific section in the current user's OneNote notebook. This action supports pagination, filtering, sorting, and relationship expansion via OData query parameters. The default query returns up to 10 pages. Note: This action is read-only and does not modify any data.
>
> #### Input Parameters
>
> **skip** `integer`
>
> The number of items to skip before returning results. Use with top/page\_size for OneNote client-side pagination.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **expand** `array`
>
> List of relationships to expand. Use 'parentSection' or 'parentNotebook' to include parent details.
>
> **filter** `string`
>
> OData filter expression to apply to filter results.
>
> **select** `array`
>
> List of page properties to include in the response. Common values: 'id', 'title', 'createdDateTime', 'lastModifiedDateTime', 'contentUrl'.
>
> **orderby** `array`
>
> List of properties to order results by. Common values: 'createdDateTime', 'lastModifiedDateTime', 'title'.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.
>
> **page\_size** `integer`
>
> The number of pages to return per request. Defaults to 10. Maximum is 100.
>
> **pagelevel** `boolean`
>
> Set to true to include each page's level and order in its section.
>
> **section\_id** `string` *required*
>
> The unique identifier of the OneNote section.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List group OneNote pages
>
> **Slug:** `ONENOTE_LIST_ONENOTE_GROUP_PAGES`
>
> Lists a paginated collection of OneNote pages from a Microsoft 365 group. Use this action to retrieve a page of OneNote pages within a Microsoft 365 group. Supports pagination via page\_size. The default page size is 10 and maximum is 100. Results are ordered by lastModifiedDateTime descending by default.
>
> #### Input Parameters
>
> **skip** `integer`
>
> The number of items to skip before returning results. Use with top/page\_size for OneNote client-side pagination.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **expand** `string`
>
> List of relationships to expand. A legacy comma-separated string is also accepted. Valid values: parentSection and parentNotebook.
>
> **filter** `string`
>
> OData filter expression to apply to filter results.
>
> **select** `array`
>
> List of page properties to include in the response. Common values: 'id', 'title', 'createdDateTime', 'lastModifiedDateTime'.
>
> **orderby** `array`
>
> List of properties to order results by. Common values: 'createdDateTime', 'lastModifiedDateTime', 'title'.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.
>
> **page\_size** `integer`
>
> The number of pages to return per request. Defaults to 10. Maximum is 100.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List group section group section groups
>
> **Slug:** `ONENOTE_LIST_ONENOTE_GROUP_SECTION_GROUPS_SECTION_GROUPS2`
>
> Lists a paginated collection of nested section groups from a specified parent section group within a Microsoft 365 group's OneNote notebook. Use this action when you need to retrieve the nested section groups within a section group in a group context to navigate the OneNote notebook hierarchy. This action supports OData query parameters for filtering, sorting, pagination, and expanding related entities.
>
> #### Input Parameters
>
> **top** `integer`
>
> The number of items to return in the collection. Default is 10.
>
> **skip** `integer`
>
> The number of items to skip before returning results. Use with top/page\_size for OneNote client-side pagination.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **expand** `array`
>
> List of relationships to expand. Valid values: sections, sectionGroups, parentNotebook, parentSectionGroup.
>
> **filter** `string`
>
> OData filter expression to apply. Example: displayName eq 'My Section Group'.
>
> **select** `array`
>
> Comma-separated list of properties to select. Valid values: id, displayName, createdDateTime, lastModifiedDateTime, sectionsUrl, sectionGroupsUrl, self.
>
> **orderby** `array`
>
> Comma-separated list of properties to order results by. Example: displayName asc.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.
>
> **section\_group\_id** `string` *required*
>
> The unique identifier of the parent section group.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List pages from a group section
>
> **Slug:** `ONENOTE_LIST_ONENOTE_GROUP_SECTIONS_PAGES4`
>
> Canonical action for listing a paginated collection of OneNote pages from a specific section in a Microsoft 365 group. Use this action when you need to retrieve a page of pages from a known section in a group notebook without specifying the notebook ID. This action supports pagination, filtering, sorting, and relationship expansion via OData query parameters. Note: This action is read-only and does not modify any data.
>
> #### Input Parameters
>
> **skip** `integer`
>
> The number of items to skip before returning results. Use with top/page\_size for OneNote client-side pagination.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **expand** `array`
>
> List of relationships to expand. Use 'parentSection' or 'parentNotebook' to include parent details.
>
> **filter** `string`
>
> OData filter expression to apply to filter results.
>
> **select** `array`
>
> List of page properties to include in the response. Common values: 'id', 'title', 'createdDateTime', 'lastModifiedDateTime', 'contentUrl', 'createdByAppId', 'level', 'order', 'links'.
>
> **orderby** `array`
>
> List of properties to order results by. Common values: 'createdDateTime', 'lastModifiedDateTime', 'title'.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.
>
> **page\_size** `integer`
>
> The number of pages to return per request. Defaults to 10. Maximum is 100.
>
> **pagelevel** `boolean`
>
> Set to true to include each page's level and order in its section.
>
> **section\_id** `string` *required*
>
> The unique identifier of the OneNote section.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List site notebooks
>
> **Slug:** `ONENOTE_LIST_SITE_NOTEBOOKS`
>
> List OneNote notebooks stored in a SharePoint site. Use this after resolving a SharePoint site ID from a site name or URL when the user asks for notebooks in a SharePoint site.
>
> #### Input Parameters
>
> **top** `integer`
>
> OData \$top page size. Default is 10; maximum is 100. Microsoft Graph OneNote notebook lists can return a truncated page without @odata.nextLink; use skip with top to request later slices when nextLink is absent.
>
> **skip** `integer`
>
> OData \$skip count for client-side pagination. Use this with top when Microsoft Graph does not return @odata.nextLink.
>
> **count** `boolean`
>
> Set OData \$count=true to ask Microsoft Graph for @odata.count.
>
> **expand** `array`
>
> OData \$expand navigation properties. Valid notebook expansions are sections and sectionGroups.
>
> **filter** `string`
>
> OData \$filter expression for notebook properties.
>
> **select** `array`
>
> OData \$select notebook properties, such as id,displayName,sectionsUrl,sectionGroupsUrl,isShared,userRole.
>
> **orderby** `array`
>
> OData \$orderby properties. Microsoft Graph defaults notebook lists to name ascending.
>
> **site\_id** `string` *required*
>
> The SharePoint site ID. Use SITES\_SEARCH or RESOLVE\_SITE\_BY\_URL to discover this value from a site name, keyword, or SharePoint URL.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData query parameters. The OneNote notebooks API may not return nextLink for small top-limited responses; use top and skip in that case.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List site notebook section groups
>
> **Slug:** `ONENOTE_LIST_SITE_NOTEBOOK_SECTION_GROUPS`
>
> Retrieves a list of section groups from the specified notebook within a SharePoint site. Use this action to retrieve a page of section groups in a SharePoint site-owned OneNote notebook to understand its structure or to find a specific section group. The default sort order is name ascending. The default query expands parentNotebook and selects its id, displayName, and self properties.
>
> #### Input Parameters
>
> **top** `integer`
>
> The number of items to return in the collection. Default is 10, maximum is 100.
>
> **skip** `integer`
>
> The number of items to skip before returning results. Use with top/page\_size for OneNote client-side pagination.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **expand** `array`
>
> List of navigation properties to expand. Valid values: sections, sectionGroups, parentNotebook, parentSectionGroup.
>
> **filter** `string`
>
> OData filter expression to filter the results. Example: displayName eq 'My Section Group'.
>
> **select** `array`
>
> Comma-separated list of section group properties to include in the response. Valid values: id, displayName, createdDateTime, lastModifiedDateTime, sectionsUrl, sectionGroupsUrl, self, createdBy, lastModifiedBy.
>
> **orderby** `array`
>
> Comma-separated list of properties to order results by. Default order is name ascending. Example: displayName asc.
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.
>
> **notebook\_id** `string` *required*
>
> The unique identifier of the OneNote notebook.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get OneNote page content from SharePoint site
>
> **Slug:** `ONENOTE_LIST_SITE_PAGES_CONTENT`
>
> Retrieves the HTML content of a specific OneNote page within a SharePoint site. Use this action when you need to fetch the full HTML content of a OneNote page from a SharePoint site for processing, rendering, or exporting page data. This endpoint provides direct access to page content without requiring notebook or section context. Returns the raw HTML content of the page, including text, images, and other embedded content references. Note: This action is read-only and does not modify any data.
>
> #### Input Parameters
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page. Format is typically 'pageId!sectionId' (e.g., '1-c82b4070fd284fd89902a39ce5937394!71-7aef1f00-3deb-4ee2-93ab-979eb24a3037').
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site. Can be the site hostname and relative path (e.g., 'contoso.sharepoint.com,123abc,456def') or a server-relative path.
>
> **include\_ids** `boolean`
>
> Optional. When set to true, the returned HTML includes IDs for page elements. Useful when you need to identify elements for updates or modifications.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List site root section groups
>
> **Slug:** `ONENOTE_LIST_SITE_ROOT_SECTION_GROUPS`
>
> List section groups at the root of a SharePoint site's OneNote hierarchy.
>
> #### Input Parameters
>
> **top** `integer`
>
> Number of items to return in this page (1-100).
>
> **skip** `integer`
>
> Number of matching items to skip.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **cursor** `string`
>
> Continuation cursor from a previous response's next\_cursor. Omit for the first page; pass the returned value back verbatim to fetch the next page.
>
> **expand** `array`
>
> Relationships to expand in each returned section group.
>
> **filter** `string`
>
> OData filter expression.
>
> **select** `array`
>
> Properties to include in each returned item.
>
> **orderby** `array`
>
> OData order expressions, such as `displayName asc`.
>
> **site\_id** `string` *required*
>
> SharePoint site ID, or `root`.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List site section pages
>
> **Slug:** `ONENOTE_LIST_SITE_SECTION_PAGES`
>
> List one result page of OneNote pages in a known SharePoint site section; pass next\_cursor back as cursor to continue.
>
> #### Input Parameters
>
> **top** `integer`
>
> Number of pages to return (1-100).
>
> **skip** `integer`
>
> Number of matching pages to skip.
>
> **count** `boolean`
>
> Include the total collection count.
>
> **cursor** `string`
>
> Opaque cursor returned by a previous call. Omit it for the first page and pass it back unchanged to continue.
>
> **expand** `array`
>
> Parent relationships to expand.
>
> **filter** `string`
>
> OData filter expression.
>
> **select** `array`
>
> Page properties to return.
>
> **orderby** `array`
>
> OData ordering expressions, such as `lastModifiedDateTime desc`.
>
> **site\_id** `string` *required*
>
> SharePoint site ID.
>
> **pagelevel** `boolean`
>
> Include each page's indentation level and order within the section.
>
> **section\_id** `string` *required*
>
> OneNote section ID.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List site sections
>
> **Slug:** `ONENOTE_LIST_SITE_SECTIONS`
>
> List a page of OneNote sections across a SharePoint site. Supports OData filtering, sorting, pagination, and property expansion.
>
> #### Input Parameters
>
> **top** `integer`
>
> The number of sections to return per request. Default is 10, maximum is 100.
>
> **skip** `integer`
>
> The number of items to skip before returning results. Use with top/page\_size for OneNote client-side pagination.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **expand** `array`
>
> List of navigation properties to expand. Valid values: parentNotebook, parentSectionGroup.
>
> **filter** `string`
>
> OData filter expression to apply to filter results. Example: displayName eq 'My Section'.
>
> **select** `array`
>
> Comma-separated list of section properties to include in the response. Common values: id, displayName, createdDateTime, lastModifiedDateTime, isDefault, pagesUrl.
>
> **orderby** `array`
>
> Comma-separated list of properties to order results by. The default sort order is name ascending. Example: displayName asc.
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site. Can be 'root' for the root site, or a site path in the format 'hostname,site-id,web-id'.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List user notebooks
>
> **Slug:** `ONENOTE_LIST_USER_NOTEBOOKS`
>
> Lists a paginated collection of OneNote notebooks accessible by a specific user. Use this action when you need to retrieve the available notebooks for a user, display notebook listings, or browse notebooks that are owned by or shared with a specific user. Supports OData query parameters for filtering, sorting, and pagination. Note: The user\_id can be a GUID or a user principal name (UPN). Use 'me' to reference the signed-in user.
>
> #### Input Parameters
>
> **skip** `integer`
>
> The number of items to skip before returning results. Use with top/page\_size for OneNote client-side pagination.
>
> **count** `boolean`
>
> Set OData \$count=true to ask Microsoft Graph for @odata.count.
>
> **expand** `string`
>
> List of relationships to expand. A legacy comma-separated string is also accepted. Valid values: sections and sectionGroups.
>
> **filter** `string`
>
> OData filter expression to apply to filter results.
>
> **select** `array`
>
> Comma-separated list of notebook properties to include in the response (OData \$select).
>
> **orderby** `array`
>
> Comma-separated list of properties to order results by (OData \$orderby). Default order is 'displayName asc'.
>
> **user\_id** `string` *required*
>
> The unique identifier (GUID) or user principal name (UPN) of the user whose notebooks to retrieve. Use 'me' to reference the signed-in user.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.
>
> **page\_size** `integer`
>
> The number of notebooks to return per request. Default is 10. Maximum is 100.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List user notebook sections
>
> **Slug:** `ONENOTE_LIST_USER_NOTEBOOK_SECTIONS`
>
> Lists a paginated collection of OneNote sections from a specified user notebook. Use this action when you need to retrieve a page of sections within a notebook that is owned by or accessible to a specific user. Supports OData query parameters for filtering, sorting, and pagination. Note: The user\_id can be a GUID or user principal name (UPN). Use 'me' to reference the signed-in user. The default sort order is by display name ascending. This is a read-only operation.
>
> #### Input Parameters
>
> **top** `integer`
>
> The number of sections to return per request. Defaults to 10. Maximum is 100.
>
> **skip** `integer`
>
> The number of items to skip before returning results. Use with top/page\_size for OneNote client-side pagination.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **expand** `array`
>
> List of relationships to expand. Valid values: parentNotebook, parentSectionGroup.
>
> **filter** `string`
>
> OData filter expression to apply to filter results.
>
> **select** `array`
>
> Comma-separated list of section properties to include in the response. Valid values include: id, self, displayName, createdDateTime, lastModifiedDateTime, isDefault, pagesUrl, links, createdBy, lastModifiedBy.
>
> **orderby** `array`
>
> Comma-separated list of properties to order results by. Default order is 'displayName asc'.
>
> **user\_id** `string` *required*
>
> The unique identifier (GUID) or user principal name (UPN) of the user. Use 'me' to reference the signed-in user.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other OData paging/filter parameters.
>
> **notebook\_id** `string` *required*
>
> The unique identifier of the OneNote notebook.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List user pages
>
> **Slug:** `ONENOTE_LIST_USER_PAGES`
>
> List OneNote pages owned by a user, defaulting to the signed-in user.
>
> #### Input Parameters
>
> **top** `integer`
>
> Number of items to return in this page (1-100).
>
> **skip** `integer`
>
> Number of matching items to skip.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **cursor** `string`
>
> Continuation cursor from a previous response's next\_cursor. Omit for the first page; pass the returned value back verbatim to fetch the next page.
>
> **expand** `array`
>
> Relationships to expand in each returned page.
>
> **filter** `string`
>
> OData filter expression.
>
> **select** `array`
>
> Properties to include in each returned item.
>
> **orderby** `array`
>
> OData order expressions, such as `displayName asc`.
>
> **user\_id** `string`
>
> User ID or user principal name. Defaults to the signed-in user (`me`).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List user root section groups
>
> **Slug:** `ONENOTE_LIST_USER_ROOT_SECTION_GROUPS`
>
> List root OneNote section groups for a user, defaulting to the signed-in user.
>
> #### Input Parameters
>
> **top** `integer`
>
> Number of items to return in this page (1-100).
>
> **skip** `integer`
>
> Number of matching items to skip.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **cursor** `string`
>
> Continuation cursor from a previous response's next\_cursor. Omit for the first page; pass the returned value back verbatim to fetch the next page.
>
> **expand** `array`
>
> Relationships to expand in each returned section group.
>
> **filter** `string`
>
> OData filter expression.
>
> **select** `array`
>
> Properties to include in each returned item.
>
> **orderby** `array`
>
> OData order expressions, such as `displayName asc`.
>
> **user\_id** `string`
>
> User ID or user principal name. Defaults to the signed-in user (`me`).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List user section group children
>
> **Slug:** `ONENOTE_LIST_USER_SECTION_GROUP_CHILDREN`
>
> Return one independent result page each of direct sections and nested section groups beneath a personal OneNote section group. When a collection's has\_more field is true, increase its independent skip offset by the number of items returned to continue.
>
> #### Input Parameters
>
> **section\_top** `integer`
>
> Maximum sections to return in this page.
>
> **section\_skip** `integer`
>
> Number of matching sections to skip.
>
> **section\_count** `boolean`
>
> Include the total matching section count.
>
> **section\_expand** `array`
>
> Section relationships to expand.
>
> **section\_filter** `string`
>
> OData filter expression for sections.
>
> **section\_select** `array`
>
> Section properties to return.
>
> **section\_orderby** `array`
>
> Section ordering expressions, such as `displayName asc`.
>
> **section\_group\_id** `string` *required*
>
> Parent OneNote section group ID.
>
> **section\_group\_top** `integer`
>
> Maximum nested section groups in this page.
>
> **section\_group\_skip** `integer`
>
> Number of matching nested section groups to skip.
>
> **section\_group\_count** `boolean`
>
> Include the total matching nested section group count.
>
> **section\_group\_expand** `array`
>
> Nested section group relationships to expand.
>
> **section\_group\_filter** `string`
>
> OData filter expression for nested section groups.
>
> **section\_group\_select** `array`
>
> Nested section group properties to return.
>
> **section\_group\_orderby** `array`
>
> Nested section group ordering expressions, such as `displayName asc`.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List user sections
>
> **Slug:** `ONENOTE_LIST_USER_SECTIONS`
>
> List root OneNote sections for a user, defaulting to the signed-in user.
>
> #### Input Parameters
>
> **top** `integer`
>
> Number of items to return in this page (1-100).
>
> **skip** `integer`
>
> Number of matching items to skip.
>
> **count** `boolean`
>
> Set OData \$count=true to include the total collection count.
>
> **cursor** `string`
>
> Continuation cursor from a previous response's next\_cursor. Omit for the first page; pass the returned value back verbatim to fetch the next page.
>
> **expand** `array`
>
> Relationships to expand in each returned section.
>
> **filter** `string`
>
> OData filter expression.
>
> **select** `array`
>
> Properties to include in each returned item.
>
> **orderby** `array`
>
> OData order expressions, such as `displayName asc`.
>
> **user\_id** `string`
>
> User ID or user principal name. Defaults to the signed-in user (`me`).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Resolve SharePoint site by URL
>
> **Slug:** `ONENOTE_RESOLVE_SITE_BY_URL`
>
> Resolve a SharePoint site URL or hostname and path to a Microsoft Graph site resource. Use this when the user provides a SharePoint URL and a site ID is needed for OneNote notebook discovery.
>
> #### Input Parameters
>
> **expand** `array`
>
> OData \$expand relationships supported by the site resource, such as drive,drives,lists,onenote,sites.
>
> **select** `array`
>
> OData \$select site properties, such as id,displayName,webUrl.
>
> **hostname** `string`
>
> SharePoint site collection hostname, such as contoso.sharepoint.com. Required when sharepoint\_url is not provided.
>
> **site\_path** `string`
>
> Server-relative site path, such as /sites/Marketing or /teams/Product. Use / or leave empty for the root site. Raw spaces are encoded and existing percent-encoded segments are preserved.
>
> **sharepoint\_url** `string`
>
> Full SharePoint site URL, such as [https://contoso.sharepoint.com/sites/Marketing](https://contoso.sharepoint.com/sites/Marketing). If provided, hostname and site\_path are derived from it. Already percent-encoded path segments are preserved.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Search SharePoint sites
>
> **Slug:** `ONENOTE_SITES_SEARCH`
>
> Search SharePoint sites available through Microsoft Graph. Use this to find a site ID from a site name or keyword before listing site-hosted OneNote notebooks. Microsoft Graph site search does not support \$count; page only with returned @odata.nextLink URLs.
>
> #### Input Parameters
>
> **top** `integer`
>
> OData \$top page size for search results. Defaults to 10.
>
> **search** `string`
>
> SharePoint site search keywords. Required unless next\_link is provided. Use a site name or keyword; Microsoft Graph searches multiple site properties.
>
> **select** `array`
>
> OData \$select site properties, such as id,name,displayName,webUrl,description,createdDateTime,lastModifiedDateTime.
>
> **orderby** `array`
>
> OData \$orderby value. Microsoft documents createdDateTime as the only site search property that works for sorting.
>
> **next\_link** `string`
>
> Opaque Microsoft Graph @odata.nextLink URL returned by a previous response. When provided, the action requests this URL directly and ignores other query parameters. Microsoft Graph site search does not support \$count; use nextLink to page through results.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update my OneNote page content
>
> **Slug:** `ONENOTE_UPDATE_ME_PAGE_CONTENT`
>
> Update the content of a OneNote page for the signed-in user. Sends a PATCH request with patch content commands to modify the HTML structure of a OneNote page. Supports appending children, inserting siblings, replacing elements, and prepending content. Use this action when you need to update or modify the content of an existing OneNote page owned by the signed-in user, such as adding new paragraphs, inserting images, modifying lists, or replacing existing elements. Repeating append, prepend, or insert commands can add duplicate content.
>
> #### Input Parameters
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to update.
>
> **commands** `array` *required*
>
> Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.
>
> **resources** `array`
>
> Optional named binary resources referenced from command HTML as name:\<resource name>.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update my OneNote section
>
> **Slug:** `ONENOTE_UPDATE_ME_SECTIONS`
>
> Updates the navigation property sections in me. Use when you need to modify properties of an existing OneNote section, such as renaming it, within the current user's notebooks. This action uses a PATCH request to update the section entity at the specified path. Use this action when you need to update a specific OneNote section owned by the authenticated user, such as changing its display name. This operation modifies the specified properties while preserving all other existing values. Note: Only the displayName property can be updated via this endpoint. Other properties like isDefault, createdDateTime, etc. are read-only. This PATCH operation is provider-undocumented; its behavior is live-observed.
>
> #### Input Parameters
>
> **section\_id** `string` *required*
>
> The unique identifier of the OneNote section to update.
>
> **display\_name** `string` *required*
>
> The new name for the section. Must be 50 characters or fewer and cannot contain: ?\*/:\<>|\&#''%\~.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update OneNote page content
>
> **Slug:** `ONENOTE_UPDATE_ONENOTE_PAGE_CONTENT`
>
> Update the content of a OneNote page in a Microsoft 365 group using one or more HTML patch commands. A successful 204 response is returned as a success status and message.
>
> #### Input Parameters
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to update.
>
> **commands** `array` *required*
>
> Array of patch commands to apply to the page. Each command specifies a target element, action, and content.
>
> **group\_id** `string` *required*
>
> The unique identifier of the Microsoft 365 group that owns the notebook.
>
> **resources** `array`
>
> Optional named binary resources referenced from command HTML as name:\<resource name>.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update section in site notebook
>
> **Slug:** `ONENOTE_UPDATE_SITE_NOTEBOOKS_SECTIONS`
>
> Canonical action for updating a OneNote section in a SharePoint site. Use this action when you need to modify properties of an existing section, such as renaming it. This action uses a PATCH request to update the section entity at the specified path within the site's notebook hierarchy. Note: Only the displayName property of a section can be updated via this endpoint. Other properties like createdDateTime, isDefault, etc. are read-only. This PATCH operation is provider-undocumented; its behavior is live-observed.
>
> #### Input Parameters
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site that owns the section.
>
> **section\_id** `string` *required*
>
> The direct OneNote section ID to update; it is unique without the legacy notebook ID.
>
> **notebook\_id** `string`
>
> Deprecated and ignored. The section ID uniquely identifies the section.
>
> **display\_name** `string` *required*
>
> The new name to assign to the section. Must be 50 characters or fewer and cannot contain: ? \* / : \< > | & # ' % \~.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update site OneNote page content
>
> **Slug:** `ONENOTE_UPDATE_SITE_PAGES_CONTENT`
>
> Update the content of a OneNote page within a SharePoint site. Sends a PATCH request with patch content commands to modify the HTML structure of a OneNote page. Supports appending children, inserting siblings, replacing elements, and prepending content. Use this action when you need to update or modify the content of an existing OneNote page within a SharePoint site, such as adding new paragraphs, inserting images, modifying lists, or replacing existing elements. Repeating append, prepend, or insert commands can add duplicate content.
>
> #### Input Parameters
>
> **page\_id** `string` *required*
>
> The unique identifier of the OneNote page to update.
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site that owns the notebook.
>
> **commands** `array` *required*
>
> Array of patch commands to apply to the page. Each command specifies a target element, action, and optional content and position.
>
> **resources** `array`
>
> Optional named binary resources referenced from command HTML as name:\<resource name>.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update site section group section
>
> **Slug:** `ONENOTE_UPDATE_SITE_SECTION_GROUPS_SECTIONS`
>
> Compatibility alias for updating a OneNote section in a SharePoint site. Prefer UpdateSiteNotebooksSections for new site calls. Legacy notebook and section-group context does not affect the Graph route. Use this action when you need to modify properties of an existing OneNote section, such as updating its display name. This action uses a PATCH request to update the section entity at the specified path within the SharePoint site's notebook hierarchy. Note: Only the displayName property can be updated via this endpoint. Other properties are read-only. This PATCH operation is provider-undocumented; its behavior is live-observed.
>
> #### Input Parameters
>
> **site\_id** `string` *required*
>
> The unique identifier of the SharePoint site. Can be the server-relative path (e.g., 'sites/contoso') or a SharePoint site ID in the format 'hostname,tenant-id,site-id'.
>
> **section\_id** `string` *required*
>
> The unique identifier of the OneNote section to update.
>
> **notebook\_id** `string`
>
> Deprecated and ignored. The section ID uniquely identifies the section.
>
> **display\_name** `string` *required*
>
> The new name for the section. Must be 50 characters or fewer and cannot contain: ?\*/:\<>|\&#''%\~
>
> **section\_group\_id** `string`
>
> Deprecated and ignored. The section ID uniquely identifies the section.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update section in user notebook
>
> **Slug:** `ONENOTE_UPDATE_USER_NOTEBOOKS_SECTIONS`
>
> Updates a OneNote section within a user's notebook. Use this action when you need to modify properties of an existing OneNote section, such as renaming it, for a specific user identified by their Microsoft Graph user ID. This action uses a PATCH request to update the section entity at the specified path within the user's notebook hierarchy. Note: Only the displayName property can be updated via this endpoint. Other properties like isDefault, createdDateTime, etc. are read-only. This PATCH operation is provider-undocumented; its behavior is live-observed.
>
> #### Input Parameters
>
> **user\_id** `string` *required*
>
> The unique identifier of the Microsoft Graph user who owns the notebook.
>
> **section\_id** `string` *required*
>
> The unique identifier of the OneNote section to update.
>
> **display\_name** `string` *required*
>
> The new name for the section. Must be 50 characters or fewer and cannot contain: ? \* / : \< > | & # ' % \~.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Validate OneNote credentials
>
> **Slug:** `ONENOTE_VALIDATE_CREDENTIAL`
>
> Validates OneNote API credentials by attempting to access the user's notebooks. Use this action when you need to verify that the provided authentication token has valid permissions to access Microsoft OneNote. This action makes a lightweight API call to confirm the credentials work before performing other operations.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
