pattern_store
Persist music patterns to disk with save, load, and list actions, enabling pattern catalog management across sessions.
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 |
|---|---|---|---|
| action | Yes | Which on-disk operation to perform | |
| name | No | Pattern name (required for save/load) | |
| tags | No | Tags to attach (save only) | |
| tag | No | Filter by tag (list only) | |
| session_id | No | Optional session ID (#108). Sources/targets the named session's current pattern; the on-disk catalog is shared across sessions. |