Remove Annotations
remove_annotationsRemove texts, labels, rehearsal marks, tempo markings, and voltas from a bar range to redo part of a chart. Filter by kind or text content.
Instructions
Remove texts and marks from a range of bars, e.g. to redo part of a chart. kinds: 'texts' (add_text: cues, '*' marks, legends), 'labels' (boxed add_label texts), 'rehearsal_marks', 'tempo' (tempo markings, which also changes playback), 'voltas'. contains limits it to texts containing that string, e.g. '**'. Defaults to the whole score. Highlights and note colors are removed with clear_highlights / clear_color instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "remove_annotations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exact | No | Only remove texts equal to `contains` (e.g. "*" but not "**" or a legend) | |
| kinds | No | What to remove | |
| contains | No | Only remove texts containing this string (text-based kinds) | |
| last_staff | No | Last staff (0-based, inclusive). Defaults to the last staff. | |
| end_measure | No | Last bar (inclusive). Defaults to the end of the score. | |
| first_staff | No | First staff (0-based) | |
| start_measure | No | First bar (1-based position) |