Import Score
import_scoreConvert a MusicXML score into a fugue.score.v1 asset, answering as a local import_score does inline. Pass musicxml, the score's text (at most 256 KiB; not a path, URL or zipped .mxl). Returns the conversion summary and score. To play it, give each cell its own cell_sequencer: cells [score.cells[i]] inline, step_count steps_per_cell, root_note score.root_note, clocked once per rhythm_grid step. An answer past 64 KiB is refused. Nothing is stored.
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": {
"musicxml": "<musicxml>"
},
"name": "import_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| musicxml | Yes | The score's MusicXML text (partwise), at most 256 KiB. |