owa_lyric_edit
Edit a song's words, chords, sections, translations, or key while the app preserves notation and rejects changes that would break it. Review parts first, then apply targeted replacements or line sets.
Instructions
Change one of the user's songs part by part. You give WORDS; the app writes the song notation and refuses a change that would break it. file: the song as attached, or its name in Documents. read first: its parts and lines. replace [{find, with, part?, in?}] changes a word or phrase where it stands, every time it is sung, chords kept -- for a spelling fix or a word changed (in "translations" for the lines under); {find "[F]", with "[Fmaj7]"} changes a chord. set-lines replaces the words of sections [{part, lines}]; a line that stays half the same keeps its chords and the line under it. add-translation puts one translation line under each sung line (exactly one per line, "" keeps that line's); both take config too, for a translation's Title and Subtitle; remove-translations and remove-chords (part, else all); set-chords gives the same words with [G] chords added or moved (a chord left out stays); add-section adds part ("Verse" takes the next number; "Note" is a note for the band, never on the screen) with lines, played after after (else at the end); remove-section; rename-section part to to; set-order ["Verse 1", "Chorus x2"]; set-config Title Subtitle Artist Copyright Key Tempo Time; transpose moves every chord to key (fromKey when the song has none). locales (language-region tags, "en-US") names its languages. Every change stays UNSAVED (a * beside the name, Ctrl+Z undoes it) for the user to Save and keeps a backup owa_undo puts back -- say so. Change only what was asked.
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": {
"file": "<file>",
"action": "<action>"
},
"name": "owa_lyric_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| key | No | ||
| file | Yes | ||
| page | No | ||
| part | No | ||
| after | No | ||
| lines | No | ||
| order | No | ||
| action | Yes | ||
| config | No | ||
| fromKey | No | ||
| locales | No | ||
| sections | No | ||
| replacements | No |