Transpose Chords
transpose_chordsTranspose a line or chart of chord symbols by a number of semitones, keeping chord qualities and slash bass notes (C/E becomes D/F# up 2). Returns the transposed text with the original spacing and a link to the browser transposer. Works on chord symbols only: not audio, lyrics or notation files.
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": {
"chords": "<chords>",
"semitones": "<semitones>"
},
"name": "transpose_chords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chords | Yes | Chord symbols separated by spaces or line breaks, as written on a lead sheet, for example "C G/B Am F". | |
| semitones | Yes | How far to move: positive is up, negative is down. 12 is one octave; capo 2 to concert pitch is -2. | |
| preferFlats | No | Spell accidentals as flats (Bb, Eb) instead of sharps; use for flat keys such as F, Bb or Eb. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chords | Yes | The transposed chord text. | |
| browserTool | Yes | Link to the matching free browser tool on clefdrills.com, to share with the user. |