theory_diatonic_chords
Generate the 7 diatonic chords for a given key and mode, with optional seventh chords and octave setting. Returns Roman numerals and MIDI pitches for each chord to support harmonic analysis and composition.
Instructions
Return the 7 diatonic chords for a key/mode. Set sevenths=true for 7th-chord qualities (Imaj7, ii7, etc.) instead of triads (I, ii, etc.). Returns Roman numerals + the actual chord pitches (MIDI) for each.
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": {
"root": "<root>",
"mode": "<mode>"
},
"name": "theory_diatonic_chords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| root | Yes | ||
| octave | No | ||
| sevenths | No |