forScore
v1.1.0Read and clean up forScore sheet-music library metadata (composers, opus numbers, keys, tags).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_scores
List scores and their bookmarks, a page at a time (see `total`; raise `offset` for more). Filters combine: `query` searches titles, references, composers, genres and tags; composer/genre/tag/label/library match a value exactly; `kind` is "score" or "bookmark"; `missing` names a field that must be empty (e.g. "composers", "reference", "key"). Items are compact (empty fields omitted) unless `full` is true.
| Parameter | Type | Description |
|---|---|---|
composer | ||
full | boolean | |
genre | ||
kind | ||
label | ||
library | ||
limit | integer | |
missing | ||
offset | integer | |
query | ||
tag |
get_score
Get one score or bookmark by UUID, exact title, or "Score › Bookmark".
| Parameter | Type | Description |
|---|---|---|
match * | string |
list_values
List every composer, genre, tag, label or library in use, with usage counts (and sort names for composers). Unused values are hidden, as in forScore.
| Parameter | Type | Description |
|---|---|---|
kind * | ||
include_unused | boolean |
list_setlists
List setlists with their scores and bookmarks in order.
audit_library
Find likely duplicate titles, identical PDFs, PDF file names that differ from titles (rename those in forScore: changing a title there can rename the file), and composer sort names worth checking.
preview_changeset
Dry-run a changeset on a copy of the library and return the per-item diff. Format: {"renames": {"composers": {"Old": "New"}}, "sort_names": {"Composer": "Sort"}, "items": [{"match": "<uuid, title or 'Score › Bookmark'>", "set": {"title", "reference", "key", "rating" (0-5), "difficulty" (0-3), "duration" ("m:ss"), "composers", "genres", "tags", "labels", "libraries"}, "add": {"tags": [...]}, "remove": {...}}], "prune": true, "libraries": {"create": [...], "rename": {"Old": "New"}, "delete": [...]}, "setlists": {"create": {"Title": ["<score match>", ...]}, "rename": {"Old": "New"}, "set": {"Ti…
| Parameter | Type | Description |
|---|---|---|
changeset * | object |
apply_changeset
Write an approved changeset. Without confirm=true this only previews. method "csv" (default, supported by forScore): creates an import CSV and sends it to forScore; tell the user the `next_step` (import it in Backups › Metadata, check forScore's preview, tap Save), then call `verify_import`. Changes CSV cannot carry are listed under `skipped`. method "direct" writes the database itself (unsupported by forScore); it only works if the user turned on direct writes themselves, needs forScore quit, and should only be used for skipped changes such as library membership or composer sort names, and…
| Parameter | Type | Description |
|---|---|---|
changeset * | object | |
confirm | boolean | |
method | string |
verify_import
After the user imported a CSV: check field by field that forScore applied it.
| Parameter | Type | Description |
|---|---|---|
import_id * | string |
undo_import
Create (and send to forScore) a CSV that restores the items of an earlier import. The user imports it the same way. Requires confirm=true.
| Parameter | Type | Description |
|---|---|---|
import_id * | string | |
confirm | boolean |
check_sync
List metadata that differs between the library and the sync files other devices (iPad, iPhone) receive. Empty means everything is in sync.
list_backups
List library backups, newest first.
create_backup
Back up the library now.
restore_backup
Replace the library with a backup (the current state is backed up first). Only with direct writes on; requires forScore to be quit and confirm=true. Prefer undo_import.
| Parameter | Type | Description |
|---|---|---|
backup_id * | string | |
confirm | boolean |
convert_key
Convert between a key name ("E♭ major") and forScore's stored code (300).
| Parameter | Type | Description |
|---|---|---|
value * | string |
doctor
Check that the library is reachable, in sync, and whether changes can be applied now.
get_conventions
The metadata conventions and the safe editing workflow. Read before proposing changes.