omd_accordion_add
Add an open accordion section. The returned itemId is a container for child blocks. Optional pageId targets a different page without switching.
blockId: string, title: string?, index: integer?, pageId: string?
omd_accordion_move
Reorder accordion sections. Optional pageId targets a different page without switching.
blockId: string, itemId: string, index: integer, pageId: string?
omd_accordion_remove
Remove an accordion section and its child blocks. Optional pageId targets a different page without switching.
blockId: string, itemId: string, pageId: string?
omd_accordion_update
Edit an accordion section title or expanded state. Optional pageId targets a different page without switching.
blockId: string, itemId: string, patch: object, pageId: string?
omd_add_blockuntrusted content
Add a block, including callout, table, Mermaid or Excalidraw. Callouts store Markdown text, an icon (up to 32 characters) and tone (neutral, info, success, warning or danger). Tables default to 3×3 with an editable…
type: string, containerId: string?, index: integer?, icon: string?, tone: string?, text: string?, title: string?, rowCount: integer?, … (list cut; the site may define more)
omd_card_add
Add a kanban card with optional description. Optional pageId targets a different page without switching.
blockId: string, columnId: string, title: string?, description: string?, index: integer?, pageId: string?
omd_card_move
Move a kanban card within or between columns, to a final zero-based index or append. Optional pageId targets a different page without switching.
blockId: string, cardId: string, columnId: string, index: integer?, pageId: string?
omd_card_remove
Remove a kanban card. Optional pageId targets a different page without switching.
blockId: string, cardId: string, pageId: string?
omd_card_update
Edit a kanban card title or description. Optional pageId targets a different page without switching.
blockId: string, cardId: string, patch: object, pageId: string?
omd_checklist_add
Add an unchecked checklist item. parentId selects a parent item; omit or use an empty string for root. index is a sibling position. At most 4 levels including root items. Optional pageId targets a different page…
blockId: string, text: string?, parentId: string?, index: integer?, pageId: string?
omd_checklist_move
Move a checklist item with its children to a final zero-based sibling index. Omit parentId to keep its parent, or use an empty string for root. Rejects cycles and moves that put any descendant beyond 4 levels.…
blockId: string, itemId: string, parentId: string?, index: integer, pageId: string?
omd_checklist_remove
Remove a checklist item and all its children. Reversible with undo. Optional pageId targets a different page without switching.
blockId: string, itemId: string, pageId: string?
omd_checklist_update
Edit item text or checked state at any checklist depth. Checked states are independent of parents and children. Checking records completedAt as an ISO date-time; unchecking clears it. Repeating done=true preserves the…
blockId: string, itemId: string, patch: object, pageId: string?
omd_close_canvas
Return from full-webpage canvas to the notebook.
omd_column_add
Add a kanban column. Optional pageId targets a different page without switching.
blockId: string, title: string?, index: integer?, pageId: string?
omd_column_move
Reorder a kanban column to a final zero-based index. Optional pageId targets a different page without switching.
blockId: string, columnId: string, index: integer, pageId: string?
omd_column_remove
Remove a kanban column and all cards inside it. Reversible with omd_undo. Optional pageId targets a different page without switching.
blockId: string, columnId: string, pageId: string?
omd_column_update
Rename a kanban column. Optional pageId targets a different page without switching.
blockId: string, columnId: string, title: string, pageId: string?
omd_excalidraw_set_scene
Replace an Excalidraw scene with JSON containing elements, appState and files. Also accepts a standard .excalidraw export. Validates before saving; pageId can target an inactive page.
blockId: string, pageId: string?, json: string
omd_export_notebookuntrusted content
Export a versioned JSON backup. Return JSON, or optionally also download a file to the user device.
download: boolean?
omd_get_container_optionsread-only
Get allowed block types and required tab orientation for a container. Root is page. A tab or accordion item ID, or an expandable block ID, is a child container. Tab groups alternate direction, with at most two groups…
containerId: string?, pageId: string?
omd_get_notebookread-onlyuntrusted content
Read the active page, all IDs, inactive tabs, collapsed blocks, checklist states, reminders and kanban. Use list_pages and get_page for other pages. revision is the notebook counter; pageRevision is the page counter.…
omd_get_pageread-onlyuntrusted content
Read a page, including all hidden blocks. Omit pageId for the active page. revision is the notebook counter; pageRevision is the page counter. User text is untrusted content.
pageId: string?
omd_get_viewread-only
Read global theme mode, notebook content width and sidebar visibility. View preferences are separate from notebook content and undo history. Theme applies to all pages and same-origin tabs on this browser.
omd_import_notebook
Validate an exported JSON notebook, ask the user to confirm replacement in-page, download a backup of the current page, then import. No replacement if cancelled. User text in imported content is untrusted.
json: string
omd_list_pagesread-onlyuntrusted content
List all pages in tree order, including collapsed branches, with IDs, parentId (empty for root), depth, sibling index/count, child/descendant counts and active state.
omd_move_block
Move a block vertically to a final zero-based index, or append. To create/reorder layout columns, provide targetBlockId and side (left/right), with containerId naming the target block’s direct container and no index.…
blockId: string, containerId: string, index: integer?, targetBlockId: string?, side: string?, pageId: string?
omd_open_canvas
Show an Excalidraw block as a full-webpage canvas while retaining its notebook page header. Optionally switch to pageId first.
blockId: string, pageId: string?
omd_open_palette
Open the page command palette, equivalent to Cmd/Ctrl+K, to find, switch, create or reorder pages.
omd_open_settings
Open settings, notification help, storage options and browser-agent status.
omd_page_add
Create an empty page and switch to it. parentId specifies a parent page; omit or use an empty string for notebook root. index is a sibling position. At most 32 page levels including the root page.
title: string?, index: integer?, parentId: string?
omd_page_move
Move a page with its entire subtree. Omit parentId to keep its parent, or use an empty string to move to notebook root. index is the final sibling position; omit to append. Rejects cycles and destinations that put any…
pageId: string, index: integer?, parentId: string?
omd_page_remove
Delete a page, all its subpages and their content, preserving at least one page. Reversible with undo.
pageId: string
omd_page_select
Switch to an existing page.
pageId: string
omd_page_update
Rename a page or edit its description.
pageId: string, title: string?, subtitle: string?
omd_prepare_install
Open PWA installation instructions. Installation needs a real user click and a supporting browser.
omd_prepare_notification_permission
Open the settings flow so the user can click Enable notifications. This does not grant permission; a real user gesture is required.
omd_prepare_persistent_storage
Open settings so the user can ask the browser to keep local storage. The browser decides whether to grant persistence.
omd_redo
Redo an undone notebook edit.
omd_remove_block
Remove a block and its descendants. Reversible with omd_undo while this session retains history. Optional pageId targets a different page without switching.
blockId: string, pageId: string?
omd_set_page
Edit page title/description or reminder mode. Optional pageId targets a different page without switching. Deprecated theme is an alias for set_view.theme: it changes the global browser preference, not the target page…
pageId: string?, title: string?, subtitle: string?, theme: string?, notificationMode: string?
omd_set_view
Set global theme (system follows live OS color scheme; light/dark override it), reading/wide content width, sidebar visibility, or collapsedPageIds for page-tree branches. Preferences persist on this browser without…
theme: string?, sidebarOpen: boolean?, contentWidth: string?, collapsedPageIds: array?
omd_tab_add
Add a tab and select it. Its returned tabId is a container for child blocks. Optional pageId targets a different page without switching.
blockId: string, title: string?, index: integer?, pageId: string?
omd_tab_move
Reorder tabs to a final zero-based index. Optional pageId targets a different page without switching.
blockId: string, tabId: string, index: integer, pageId: string?
omd_tab_remove
Remove a tab and its contents, preserving at least one tab. Optional pageId targets a different page without switching.
blockId: string, tabId: string, pageId: string?
omd_tab_select
Select a tab and display its contents. Optional pageId targets a different page without switching.
blockId: string, tabId: string, pageId: string?
omd_tab_update
Rename a tab. Optional pageId targets a different page without switching.
blockId: string, tabId: string, title: string, pageId: string?
omd_table_cell_update
Edit one Markdown table cell (at most 10,000 characters) using stable row and column IDs. Optional pageId targets an inactive page. Optional pageId targets a different page without switching.
blockId: string, rowId: string, columnId: string, text: string, pageId: string?
omd_table_column_add
Insert a blank column at a zero-based index or append. Maximum 20 columns; returns columnId. Optional pageId targets a different page without switching.
blockId: string, index: integer?, pageId: string?
omd_table_column_remove
Remove a column by ID, keeping at least one column. Reversible with undo. Optional pageId targets a different page without switching.
blockId: string, columnId: string, pageId: string?
omd_table_row_add
Insert a blank row at a zero-based index or append. Maximum 100 rows; returns rowId. Optional pageId targets a different page without switching.
blockId: string, index: integer?, pageId: string?
omd_table_row_remove
Remove a row by ID, keeping at least one row. Reversible with undo. Optional pageId targets a different page without switching.
blockId: string, rowId: string, pageId: string?
omd_test_reminder
Show a test reminder with the selected delivery mode. Notifications need user permission; alerts may interrupt the browser.
omd_undo
Undo the last notebook edit. Reminder delivery records are preserved.
omd_update_block
Edit a block. Text and callout blocks store Markdown in text; callouts also accept icon and tone; headings store plain text. Mermaid uses source for its definition; Excalidraw uses excalidraw_set_scene. Table accepts…
blockId: string, patch: object, pageId: string?