pattern_store
Persist Strudel music patterns by saving named patterns to disk, loading them into sessions, and listing the catalog with optional tag filters.
Instructions
Persist patterns to disk and read them back. Use action=save to write the current session pattern under a name; action=load to restore a named pattern into the current session; action=list to enumerate the on-disk catalog (optionally filtered by tag). Example: pattern_store({ action: "save", name: "my-jam", tags: ["techno"] }). For session lifecycle (create/destroy/list active sessions) use the session tool — pattern_store deals with on-disk patterns, not runtime sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter by tag (list only) | |
| name | No | Pattern name (required for save/load) | |
| tags | No | Tags to attach (save only) | |
| action | Yes | Which on-disk operation to perform | |
| overwrite | No | save only: replace a pattern saved under a DIFFERENT name that maps to the same file (names are lowercased and stripped of punctuation, so "My Jam" and "my-jam" collide). Off by default; the replaced pattern is unrecoverable. | |
| session_id | No | Optional session ID (#108). Sources/targets the named session's current pattern; the on-disk catalog is shared across sessions. |