> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# onenote

> Notebooks, pages, and content management

**Server path:** `/onenote` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                    | Description                                                                                                                                          |
| ------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`onenote_list_notebooks`](#onenote_list_notebooks)     | List all OneNote notebooks                                                                                                                           |
| [`onenote_get_notebook`](#onenote_get_notebook)         | Get a specific notebook by ID                                                                                                                        |
| [`onenote_create_page`](#onenote_create_page)           | Create a new page in OneNote                                                                                                                         |
| [`onenote_get_page`](#onenote_get_page)                 | Get a specific page by ID                                                                                                                            |
| [`onenote_update_page`](#onenote_update_page)           | Update page content                                                                                                                                  |
| [`onenote_list_sections`](#onenote_list_sections)       | List sections across all notebooks or within a specific notebook. Sections contain pages and are essential for navigation and organizing content.    |
| [`onenote_get_page_content`](#onenote_get_page_content) | Get the full HTML content of a OneNote page. Use this to read what is actually written on a page. The onenote\_get\_page tool only returns metadata. |
| [`onenote_create_notebook`](#onenote_create_notebook)   | Create a new OneNote notebook.                                                                                                                       |
| [`onenote_search_pages`](#onenote_search_pages)         | Search pages across all notebooks                                                                                                                    |

***

## onenote\_list\_notebooks

List all OneNote notebooks

**Parameters:**

| Parameter | Type      | Required | Default | Description               |
| --------- | --------- | -------- | ------- | ------------------------- |
| `expand`  | string\[] | No       | —       | Additional data to expand |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "expand": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "sections",
            "sectionGroups"
          ]
        },
        "description": "Additional data to expand"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## onenote\_get\_notebook

Get a specific notebook by ID

**Parameters:**

| Parameter    | Type      | Required | Default | Description               |
| ------------ | --------- | -------- | ------- | ------------------------- |
| `notebookId` | string    | Yes      | —       | Notebook ID to retrieve   |
| `expand`     | string\[] | No       | —       | Additional data to expand |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "notebookId": {
        "type": "string",
        "description": "Notebook ID to retrieve"
      },
      "expand": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "sections",
            "sectionGroups"
          ]
        },
        "description": "Additional data to expand"
      }
    },
    "required": [
      "PCID",
      "notebookId"
    ]
  }
  ```
</Expandable>

***

## onenote\_create\_page

Create a new page in OneNote

**Parameters:**

| Parameter   | Type   | Required | Default | Description                  |
| ----------- | ------ | -------- | ------- | ---------------------------- |
| `sectionId` | string | Yes      | —       | Section ID to create page in |
| `title`     | string | Yes      | —       | Page title                   |
| `content`   | string | Yes      | —       | Page content (HTML format)   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "sectionId": {
        "type": "string",
        "description": "Section ID to create page in"
      },
      "title": {
        "type": "string",
        "description": "Page title"
      },
      "content": {
        "type": "string",
        "description": "Page content (HTML format)"
      }
    },
    "required": [
      "PCID",
      "sectionId",
      "title",
      "content"
    ]
  }
  ```
</Expandable>

***

## onenote\_get\_page

Get a specific page by ID

**Parameters:**

| Parameter        | Type    | Required | Default | Description          |
| ---------------- | ------- | -------- | ------- | -------------------- |
| `pageId`         | string  | Yes      | —       | Page ID to retrieve  |
| `includeContent` | boolean | No       | `true`  | Include page content |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "pageId": {
        "type": "string",
        "description": "Page ID to retrieve"
      },
      "includeContent": {
        "type": "boolean",
        "default": true,
        "description": "Include page content"
      }
    },
    "required": [
      "PCID",
      "pageId"
    ]
  }
  ```
</Expandable>

***

## onenote\_update\_page

Update page content

**Parameters:**

| Parameter | Type   | Required | Default | Description                        |
| --------- | ------ | -------- | ------- | ---------------------------------- |
| `pageId`  | string | Yes      | —       | Page ID to update                  |
| `content` | string | Yes      | —       | Updated page content (HTML format) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "pageId": {
        "type": "string",
        "description": "Page ID to update"
      },
      "content": {
        "type": "string",
        "description": "Updated page content (HTML format)"
      }
    },
    "required": [
      "PCID",
      "pageId",
      "content"
    ]
  }
  ```
</Expandable>

***

## onenote\_list\_sections

List sections across all notebooks or within a specific notebook. Sections contain pages and are essential for navigation and organizing content.

**Parameters:**

| Parameter    | Type   | Required | Default | Description                                                                                  |
| ------------ | ------ | -------- | ------- | -------------------------------------------------------------------------------------------- |
| `notebookId` | string | No       | —       | Optional notebook ID to list sections from. If omitted, lists sections across all notebooks. |
| `top`        | number | No       | —       | Maximum number of sections to return (default: 20)                                           |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "notebookId": {
        "type": "string",
        "description": "Optional notebook ID to list sections from. If omitted, lists sections across all notebooks."
      },
      "top": {
        "type": "number",
        "description": "Maximum number of sections to return (default: 20)"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## onenote\_get\_page\_content

Get the full HTML content of a OneNote page. Use this to read what is actually written on a page. The onenote\_get\_page tool only returns metadata.

**Parameters:**

| Parameter | Type   | Required | Default | Description                      |
| --------- | ------ | -------- | ------- | -------------------------------- |
| `pageId`  | string | Yes      | —       | Page ID to retrieve content from |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "pageId": {
        "type": "string",
        "description": "Page ID to retrieve content from"
      }
    },
    "required": [
      "PCID",
      "pageId"
    ]
  }
  ```
</Expandable>

***

## onenote\_create\_notebook

Create a new OneNote notebook.

**Parameters:**

| Parameter     | Type   | Required | Default | Description               |
| ------------- | ------ | -------- | ------- | ------------------------- |
| `displayName` | string | Yes      | —       | Name for the new notebook |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "displayName": {
        "type": "string",
        "description": "Name for the new notebook"
      }
    },
    "required": [
      "PCID",
      "displayName"
    ]
  }
  ```
</Expandable>

***

## onenote\_search\_pages

Search pages across all notebooks

**Parameters:**

| Parameter | Type   | Required | Default | Description               |
| --------- | ------ | -------- | ------- | ------------------------- |
| `search`  | string | Yes      | —       | Search query              |
| `top`     | number | No       | `20`    | Maximum number of results |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "search": {
        "type": "string",
        "description": "Search query"
      },
      "top": {
        "type": "number",
        "default": 20,
        "description": "Maximum number of results"
      }
    },
    "required": [
      "PCID",
      "search"
    ]
  }
  ```
</Expandable>
