Skip to content

Transpose

Tool name: transpose

Transposes a note, chord, or chord progression by an interval or to a target key.

HintValue
readOnlyHint
idempotentHint
destructiveHint
openWorldHint
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"subject": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
]
},
"interval": {
"type": "string",
"minLength": 1
},
"targetKey": {
"type": "string",
"minLength": 1
}
},
"required": [
"subject"
],
"additionalProperties": false
}

Returned as structuredContent. The text rendering is a short human-readable summary.

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"note",
"chord",
"chords"
],
"description": "Detected subject kind."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Transposed value, same shape as the input subject."
},
"interval": {
"type": "string",
"description": "The interval applied (resolved from `targetKey` if used)."
}
},
"required": [
"kind",
"value",
"interval"
],
"additionalProperties": false
}