add_clef
Adds a clef change to a voice's staff in a Dorico score by specifying the clef type and voice, with optional bar, position, and beat settings.
Instructions
A clef change on the voice's staff: clef.treble, clef.bass, clef.alto, clef.tenor, clef.treble8ba ...
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": {
"clef": "<clef>",
"voice": "<voice>"
},
"name": "add_clef"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | No | ||
| pos | No | ||
| beat | No | 0 | |
| clef | Yes | ||
| flow | No | ||
| voice | Yes |