add_tuplet
Inserts a tuplet into a Dorico score with a given ratio, note value, and note-input syntax, overwriting existing notes at the selected voice or beat.
Instructions
A tuplet typed with Dorico's note input, overwriting what is there: ratio "3:2", "5:4"; unit = the tuplet's note value (e, q, s, h); notes in add_notes syntax with notated values, e.g. "C5:e D5 E5" or "Eb4+G4:q B4 D5". Accidentals are always explicit (C#5, Ab4); plain letters mean naturals.
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": {
"ratio": "<ratio>",
"unit": "<unit>",
"notes": "<notes>",
"voice": "<voice>"
},
"name": "add_tuplet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | No | ||
| pos | No | ||
| beat | No | 0 | |
| flow | No | ||
| unit | Yes | ||
| notes | Yes | ||
| ratio | Yes | ||
| voice | Yes |