Skip to content

Get Note Info

Tool name: get-note-info

Returns name, pitch class, octave, MIDI number, frequency, and accidentals for a note.

HintValue
readOnlyHint
idempotentHint
destructiveHint
openWorldHint
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"note": {
"type": "string",
"minLength": 1,
"description": "A pitch class (e.g. \"C\", \"F#\", \"Bb\") or scientific pitch (e.g. \"C4\", \"Eb5\"). Octave defaults to 4 when omitted."
}
},
"required": [
"note"
],
"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": {
"name": {
"type": "string",
"description": "Canonical note name including octave."
},
"pc": {
"type": "string",
"description": "Pitch class without octave."
},
"octave": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Octave number."
},
"midi": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "MIDI note number (0-127 typical)."
},
"freq": {
"type": "number",
"description": "Frequency in Hz at A4=440."
},
"accidentals": {
"type": "string",
"description": "Accidental symbols (\"#\", \"b\", \"##\", \"bb\", or \"\" for naturals)."
}
},
"required": [
"name",
"pc",
"octave",
"midi",
"freq",
"accidentals"
],
"additionalProperties": false
}