status
Check current browser and playback status for Strudel music patterns to monitor live coding sessions and audio generation.
Instructions
Get current browser and playback status (quick state check)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server/EnhancedMCPServerFixed.ts:536-540 (registration)Registers the 'status' MCP tool in the getTools() method with name, description, and empty input schema.{ name: 'status', description: 'Get current browser and playback status (quick state check)', inputSchema: { type: 'object', properties: {} } },
- The executeTool switch case handler for 'status' which delegates to StrudelController.getStatus().case 'status': return this.controller.getStatus();
- src/StrudelController.ts:696-712 (handler)Core implementation of getStatus() in StrudelController that returns the browser and playback status object.getStatus(): { initialized: boolean; playing: boolean; patternLength: number; cacheValid: boolean; errorCount: number; warningCount: number; } { return { initialized: this._page !== null, playing: this.isPlaying, patternLength: this.editorCache.length, cacheValid: this.editorCache.length > 0 && (Date.now() - this.cacheTimestamp) < this.CACHE_TTL, errorCount: this.consoleErrors.length, warningCount: this.consoleWarnings.length }; }
- Input schema for the 'status' tool: empty object (no parameters).inputSchema: { type: 'object', properties: {} }