session
Manage isolated browser sessions for Strudel live coding. Create, destroy, list, or switch between named sessions to maintain separate contexts.
Instructions
Manage isolated Strudel browser sessions (multi-session, #108). action=create starts a new named session (sessions share one browser but isolated contexts). action=destroy closes a named session and releases its resources. action=list returns metadata for all active sessions (id, created, last_activity, is_playing, is_default). action=switch changes the default session that subsequent tool calls route to when no session_id is passed. Example: session({ action: "create", session_id: "live-set-1" }). For the on-disk pattern catalog use pattern_store(action=list) — session(action=list) lists runtime sessions, not saved patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Session lifecycle action | |
| session_id | No | Session identifier (required for create/destroy/switch) |