Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| init | Initialize Strudel in browser |
| write | Write pattern to editor |
| append | Append code to current pattern |
| insert | Insert code at specific line |
| replace | Replace pattern section |
| play | Start playing pattern |
| pause | Pause playback |
| stop | Stop playback |
| clear | Clear the editor |
| get_pattern | Get current pattern code |
| transpose | Transpose notes by semitones |
| reverse | Reverse pattern |
| stretch | Time stretch pattern |
| quantize | Quantize to grid |
| humanize | Add human timing variation |
| generate_variation | Create pattern variations |
| generate_pattern | Generate complete pattern from style |
| generate_drums | Generate drum pattern |
| generate_bassline | Generate bassline |
| generate_melody | Generate melody from scale |
| analyze | Complete audio analysis |
| analyze_spectrum | FFT spectrum analysis |
| analyze_rhythm | Rhythm analysis |
| detect_tempo | BPM detection |
| detect_key | Key detection |
| add_effect | Add effect to pattern |
| remove_effect | Remove effect |
| set_tempo | Set BPM |
| add_swing | Add swing to pattern |
| apply_scale | Apply scale to notes |
| save | Save pattern with metadata |
| load | Load saved pattern |
| list | List saved patterns |
| undo | Undo last action |
| redo | Redo action |
| generate_scale | Generate scale notes |
| generate_chord_progression | Generate chord progression |
| generate_euclidean | Generate Euclidean rhythm |
| generate_polyrhythm | Generate polyrhythm |
| generate_fill | Generate drum fill |