Skip to main content

Documentation Index

Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

OneCLI connects AI agents to Microsoft OneNote through Microsoft’s OAuth flow. Agents can read notebooks, sections, and pages, create new pages, and edit existing content. The gateway injects OAuth credentials into requests to the Microsoft Graph API automatically.
Microsoft OneNote is a cloud-only integration, available on the Team plan.

Setup

1

Go to Connections

Open the OneCLI dashboard and navigate to Connections > Microsoft OneNote.
2

Authorize

Click Connect Microsoft OneNote. You’ll be redirected to Microsoft to sign in and authorize OneCLI. Review the requested permissions and click Accept.
3

Verify

After authorization, you’ll be redirected back to the dashboard. The connection will show as Connected with your Microsoft account email.

What agents can do

Read notebooks — View your OneNote notebooks, sections, and pages Read & write notebooks — View, create, and edit notebooks, sections, and pages Create pages — Create new pages in your OneNote notebooks

Use cases

  • Note-taking agents that create meeting notes from transcripts
  • Research agents that organize findings into structured notebooks
  • Agents that search across notebooks for relevant information
  • Content agents that create and update documentation in OneNote

Controlling access with rules

Use OneCLI’s rules engine to control what agents can do. For example, allow reading notebooks but block creating or editing pages. Rules are evaluated before credential injection, so a blocked request never reaches the Microsoft Graph API.