key_to_note_name
Convert any MIDI key number (0-127) to its corresponding note name for use in music software or scripting.
Instructions
Convert a MIDI key number to its note name.
Args: key: MIDI key number (0-127)
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": {
"key": "<key>"
},
"name": "key_to_note_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |