owa_lyric_file
List, read, create, update, rename, revert, or delete Open Lyric song documents, leaving edits unsaved for user review and keeping backups for undo.
Instructions
Look at and change the user's songs (Open Lyric documents). list names what is there, info reads one, create makes a new one, update changes one, rename renames one, revert drops its unsaved edits (the editor's Discard, undoable here), delete moves one to the trash. For create and update, content is the Open Lyric document itself: Markdown with an ol:Config fence carrying Title and Structure (required); Artist, Copyright, Key, Tempo (120bpm) and Time (4/4) only when known, never a placeholder. Then one fence per section (ol:Verse 1, ```ol:Chorus). Refused, with why, if it does not parse. Nothing is lost: delete goes to the trash, create refuses a taken name, update -- like every edit -- stays UNSAVED (a * beside the name, Ctrl+Z undoes it) for the user to Save, and every change keeps a backup owa_undo puts back -- say so afterwards. Ask before changing what they did not ask about.
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_lyric_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The name as it reads in the list, with no folder and no file extension. Not needed for `list`. | |
| page | No | ||
| action | Yes | What to do | |
| content | No | Required by `create` and `update` | |
| newName | No | The new name, for `rename` only | |
| fontFamily | No |