Skip to content
Guide · AI chat

Talk to your notes in a side panel

Press Ctrl+Alt+A to open the panel on the right. It does more than reply with text — it reads pages, searches the section, creates pages and rewrites paragraphs, asking first before overwriting and letting you undo afterwards.

Multi-turn13 note toolsConfirm before write

Opening and docking ​

Both the Home and NoteMark tabs have an AI Chat button in the AI group; it stays pressed while the panel is visible. The global hotkey Ctrl+Alt+A toggles it from anywhere.

The panel is a separate window docked beside OneNote, not an in-page pane:

  • It sits just outside the OneNote window on the right so it never covers the page; when OneNote is maximized it overlays a strip at the screen edge. To dock it on the left, set ai-chat-side to left.
  • Drag its edge to change the width (minimum 320); the width is written back to the config and reused next time.
  • Minimizing OneNote hides the panel; press Ctrl+Alt+A again after restoring the window (the conversation is kept).
  • ✕ only hides it — the conversation and any unsent text are still there when you reopen.

Configure the service first

Chat shares the same service configuration as the AI actions. Use AI Settings in the AI group, or More → Settings… in the panel header, to enter the endpoint, model and API key. See AI features.

Context scope ​

The Context options above the input decide what is attached to each turn. Pick one; the default is Current page only.

Selection
Select a passage in the page first. The AI receives that selection as well — useful for “make this paragraph shorter”.
Selection
Current page only
The default. Sends the current page and nothing extra; the current page is always included.
Default
Whole section
Also attaches the section’s page list (titles and indentation) — handy for requests like “merge these pages into one”.
Section

Clicking the already selected option removes the extra reference. Context is captured the moment you press send, so changing the selection or switching pages afterwards does not affect that turn.

What it can read and write ​

Everything goes through 13 restricted tools, grouped into three tiers. The model cannot touch OneNote’s page structure directly.

Know where it is
Reads the current page and section identity, titles and selection size as the basis for later steps.
Read
Read page content
Reads a page as Markdown in chunks (6,000 characters at a time by default) and can continue from an offset.
Read
Read selection / list pages
Exports the current selection as Markdown, or lists page titles and indentation in the section to locate a target.
Read
Search and navigate
Searches titles and body text within the section and jumps to a matching page so you can check it.
Read
Insert content
Inserts Markdown at the cursor or at the end of the page, or appends it to a specific page.
Append
Create a page
Creates a page in the current section and renders the Markdown — good for turning a summary into its own note.
Append
Replace selection / rewrite page / rename page
Overwrites the selected text, the whole page body or a page title. A confirmation card appears first.
Overwrite
Delete a page
Moves the page to the OneNote recycle bin. Always asks for confirmation first (default button is Discard), and is limited to the current section.
Overwrite

Confirmation and undo ​

Write protection depends on the tier:

  • Read: executes immediately without interrupting the conversation.
  • Append: executes immediately, and the reply shows an Undo action. Undo restores the page snapshot taken before this turn.
  • Overwrite: a confirmation card lists the action, target page and a preview of the text. Focus defaults to Discard, so a stray Enter changes nothing, and a card left unanswered counts as discard. Ordinary edits are titled Confirm note changes; deletion is titled Confirm page deletion with a Delete button.
  • Deleting a page always opens the confirmation card, whatever the confirm tier is set to, because it cannot be undone.

Multiple writes to the same page within one turn take a single snapshot before the first write, so undo returns to the state at the start of the turn rather than to an intermediate state.

The threshold is configurable

The ai-chat-confirm setting decides which tier and above needs confirmation: write (default, only overwrites), append (appends too), read (everything). It has no UI toggle; see “Chat-specific settings” below.

Multi-turn sessions ​

  • The dropdown at the top switches between conversations; + starts a new one, saving the current one first.
  • More → Delete this conversation removes only that one, after a confirmation.
  • An empty conversation offers three starting points: Tidy this page, Summarize this page, Polish the selection. Clicking only fills the input box — nothing is sent.
  • The status line shows “model · context N%”; hover it to see characters used, the budget, and the token usage of the last request. When the budget is exceeded, the oldest turns are dropped first.
  • Conversations are stored in %LocalAppData%\NoteMark\chat — messages only, never page bodies — and the 20 most recent are kept.

Input and shortcuts ​

Send
Enter sends and Shift+Enter adds a line break by default. Turn Enter-send off to send with Ctrl+Enter instead; the hint under the box follows the setting.
Enter
Stop generating
While a reply streams in, the send button becomes Stop. Anything already generated stays in the conversation.
Stop
Toggle the panel
Press once anywhere in OneNote to open, again to hide; stays in sync with the ribbon button.
Ctrl+Alt+A
Hotkeys pause: while the panel has focus, NoteMark’s global hotkeys are suspended — Enter in the input box just adds a line break instead of rendering, and digits do not fire Ctrl+Shift actions. They resume when you leave the panel.

Chat-specific settings ​

The chat options have no settings UI: the AI Settings window only covers the endpoint, model, API key, temperature, max tokens and timeout. The keys below go straight into the shared %LocalAppData%\NoteMark\ai.txt and take effect after restarting OneNote:

ai-chat-confirm=write
Which write tier needs confirmation: write (overwrites only) / append (appends too) / read (everything). Page deletion ignores this tier and always asks first.
write
ai-chat-max-context=24000
Context budget per turn in characters. Beyond it, the oldest turns are dropped.
24000
ai-chat-max-tool-rounds=8
Maximum tool round-trips per turn (each batch of tool calls the model returns counts once), so it cannot keep paging forever. If you see the limit error, split the request or raise it.
8
ai-chat-max-tokens=4096
Reply length limit for chat. Larger than ai-max-tokens, since replies often hold a whole page.
4096
ai-chat-keep-sessions=20
How many conversations to keep; the oldest are pruned beyond it.
20
ai-chat-width / ai-chat-side
Panel width (logical pixels at 96 DPI, minimum 320) and docking side right / left; the width is written back when you drag the panel edge.
380 / right
ai-chat-enter-send=true
Enter sends directly; set to false to send with Ctrl+Enter and use Enter for line breaks.
true

If you cannot find a toggle

None of the chat options mentioned here appear in the AI Settings window — that window only holds server settings. Every chat behaviour is controlled by the ai-chat-* keys above.

Data and safety ​

  • The AI can only act through the tools above — it never writes OneNote page XML directly. Every write goes through NoteMark’s own page operations.
  • Deleting a page always requires the confirmation card and is limited to the current section; deleted pages go to the OneNote recycle bin and can be restored from there.
  • Only the context scope you choose is sent. When the AI reads additional pages it does so through read tools, and those calls are visible in the conversation.
  • Stored conversations contain messages only, never page bodies; the API key stays encrypted with Windows DPAPI for the current user.
  • The panel talks only to the endpoint you configured.

Troubleshooting ​

It says it changed the page but nothing happened
Most likely Discard was clicked, or the card timed out. Ask again.
—
The AI said it deleted a page but it is still there
Discard was clicked in the confirmation card, or the card timed out. Deletion only works for pages in the current section; cross-section targets are refused.
—
The model only replies with text
The service or model does not support tool calls (function calling). Use a model that does, such as DeepSeek, gpt-4o or qwen-plus.
—
“Context is full”
Start a new conversation or raise ai-chat-max-context. For long notes, let it read and edit in chunks.
—
The button does nothing
The panel does not open when the trial has expired or the licence is invalid — activate first. Otherwise check that you are on OneNote desktop.
—

Native Markdown support for OneNote