Delete Selection
delete_selectionDelete the current selection in MuseScore or remove a specific 1-based measure number. Use it to clear notes, rests, or measures while editing a score programmatically.
Instructions
Delete the current selection, or the specified measure.
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": "delete_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| measure | No | Measure number (1-based) to delete. If omitted, the current selection is deleted. |