update_song
Modify an existing song's metadata, replace its lyric/chord columns, or rename its slug without recreating the file. Use it to make targeted edits to songbook entries.
Instructions
Updates an existing song. Supports partial metadata changes, replacing columns, and/or renaming the song slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Current song slug to update. | |
| columns | No | Optional replacement columns AST. If omitted, existing columns remain untouched. | |
| metadata | No | Partial metadata updates (name, author, font, column_width, gutter). | |
| new_slug | No | Optional new slug to rename the song file. | |
| project_dir | No | Songbook directory path (defaults to EVOX_PROJECT_DIR or cwd). |