owa_note_edit
Edit a user's Bible note in Open Worship App by reading numbered blocks and applying block, text, formatting, insertion, and reorder changes in one call. Changes remain unsaved until saved.
Instructions
Change the user's Bible note attached here, in its own window as the person sees it. note: its name as attached. read gives its numbered blocks (n, kind, text), hash and fonts (the font box's); from reads on. edit makes every change in ONE call (give hash), changes: {block, text?, kind?, checked?} changes block n -- with a list kind or kind section and its words as lines it becomes a block a line; {block, remove: true} removes it; {block, after} moves it (0 = top); {after, kind, text} adds one; kind section adds many, a block a line of mark-up (# heading, - item, 1. item, > quote, ---). Added kinds include the editor's Insert menu: table (a line a row, cells between |, first row the headings), columns (between |), collapsible (a title line, then its lines), page-break, equation (KaTeX), sticky (color yellow, pink, blue, mint, lavender, peach or sage), date (today or YYYY-MM-DD), poll (the question, then a line a choice), video (YouTube link), website, media (a link or a path), drawing (a line a box, "A -> B" an arrow, a first line "layout: across" / "circle" / "center"; background fills its boxes, color its lines; one in the note takes new lines, size larger/smaller, align), example (the editor's sample note), passage (ref). The toolbar, on a block or, with words, only those words in it: size ("larger", "smaller", px 8-72), font, color and background (a colour, or "none"), styles / stylesOff (bold, italic, underline, strikethrough, code, subscript, superscript, highlight, lowercase, uppercase, capitalize), clear: true (Clear Formatting), align (left, center, right, justify, start, end, none), indent ("more", "less" or 0-10; a list item nests), a code block's language and theme, linkTo: n (Link block text, to block n or its linkToWords; linkKind direction-to …). undo / redo step the note's kept history; view with invisibleCharacters true/false is the ¶. title renames. Words: bold, italic, underline, strike, code, words; keep [^…] [@…] [#…] tokens as read; a verse token names its Bible, [^(KJV) John 3:16]; a new one is a verse the app reads from the Bible it names (else bible, else the lookup's) -- [^(KJV) Hebrews 11:1] in place of a chip moves it to the KJV; the summary says which Bible each new verse came from. A new [@Name] / [#Place] a mention from the names lookup -- never write verse words yourself. A fixed block (table, picture, passage, sticky …) is never given words, a drawing's lines aside. Changes stay UNSAVED for Save in the note window; owa_undo puts each back.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "owa_note_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| file | No | ||
| from | No | ||
| hash | No | ||
| note | No | ||
| page | No | ||
| bible | No | ||
| title | No | ||
| action | Yes | ||
| changes | No | ||
| invisibleCharacters | No |