保存する
score_saveSave the current score as .mscz or export it to PDF, with overwrite protection and automatic backup when replacing a file; blocked in write-protected or symlink destinations.
Instructions
今の版を保存する(.mscz、または .pdf で書き出し)。既定では既存のファイルを上書きしない。overwrite=true のときだけ上書きし、その前に「<名前>.bak-日時ミリ秒-乱数」の控えを作る(控えは上書きしない)。書き込み禁止のフォルダ(既定は試験譜面のフォルダ)と作業フォルダには保存できない(記号リンクのフォルダ経由・大文字小文字の違いでも拒否)。保存先そのものが記号リンクのときも拒否する。
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": {
"score_id": "<score_id>",
"path": "<path>"
},
"name": "score_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 保存先の絶対パス | |
| score_id | Yes | score_open が返した score_id | |
| overwrite | No |