set_preset_message
Assign a MIDI CC or PC message to a preset slot on a Morningstar foot controller, specifying action, channel, and optional toggle or slot.
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": {
"preset": "<preset>",
"action": "<action>",
"type": "<type>",
"channel": "<channel>"
},
"name": "set_preset_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | Message slot (0-15, auto if omitted) | |
| type | Yes | Message type | |
| force | No | Overwrite existing slot | |
| action | Yes | Action: press, release, long_press, double_tap, etc. | |
| preset | Yes | Preset: switch letter (A-H) or position | |
| toggle | No | Toggle: pos_1, pos_2, both (default), shift | |
| channel | Yes | MIDI channel (0=ch1) | |
| cc_value | No | CC value (required if type=CC) | |
| cc_number | No | CC number (required if type=CC) | |
| pc_number | No | PC number (required if type=PC) | |
| description | No | Human-readable description |