add_span
Adds voice-specific slurs, hairpins, octave lines, and glissandi between notes in a Dorico score; supports multiple spans in one call.
Instructions
A line from one note to another in the same voice: slur, cresc, dim, messa_di_voce (hairpins), 8va, 8vb, 15ma, 15mb (octave lines), glissando. Only that voice gets it, even with other voices on the staff. spans: several [start_event_id, end_event_id] pairs in one call (slurs: one undo step), e.g. a slur over every pair of quavers. Hairpins end at the end of the end note; for exact positions use add_hairpin.
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": {
"kind": "<kind>"
},
"name": "add_span"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | No | ||
| kind | Yes | ||
| spans | No | ||
| end_event_id | No | ||
| start_event_id | No |