set_key_signature
Set the key signature for a score by specifying root note and mode (major or minor), with optional bar number for insertion.
Instructions
Set the key signature.
Args: root: Root note of the key (C, D, E, F, G, A, B with optional # or b) Examples: "C", "G", "F#", "Bb", "Eb" mode: "major" or "minor" bar: Bar number to insert at. None = current position.
Returns: Success status
Examples: - C major: set_key_signature("C", "major") - G major: set_key_signature("G", "major") - A minor: set_key_signature("A", "minor") - Bb major: set_key_signature("Bb", "major") - F# minor: set_key_signature("F#", "minor")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| mode | No | major | |
| bar | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||