Add Text
add_textAdd free text at a bar or beat in MuseScore with custom size, style, color, and staff placement for cues or expressions.
Instructions
Add free text at a bar (optionally at a beat) with its own look: size, italic/bold, color, above or below the staff. Defaults give a small, italic, light-grey cue, e.g. the first words of a section's lyrics as a reminder for the player. kind='expression' makes it an expression text. Use the text the user provides. Remove with Ctrl+Z, or select the texts in MuseScore and delete them.
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": {
"measure": "<measure>",
"text": "<text>"
},
"name": "add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| beat | No | Beat within the bar (1-based, fractions allowed). Defaults to the start of the bar. | |
| bold | No | Bold text | |
| kind | No | Staff text, or expression text | staff |
| size | No | Font size in points | |
| text | Yes | The text to add | |
| color | No | Text color as "#rrggbb" (default light grey) | #9e9e9e |
| staff | No | Staff (0-based) | |
| italic | No | Italic text | |
| measure | Yes | Bar position (1-based) | |
| placement | No | Above or below the staff | above |