get_queue_status
Check the speech synthesis queue status to monitor active playback and pending voice generation tasks.
Instructions
再生キューの状態を取得
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:203-213 (handler)The main handler for the get_queue_status tool. It calls queue.getStatus() and returns the queue status as JSON.
case "get_queue_status": { const status = queue.getStatus(); return { content: [ { type: "text", text: JSON.stringify(status, null, 2), }, ], }; } - src/index.ts:98-105 (registration)Registration of the get_queue_status tool in the MCP server. Defines the tool name, description, and input schema (empty object as it takes no parameters).
{ name: "get_queue_status", description: "再生キューの状態を取得", inputSchema: { type: "object", properties: {}, }, }, - src/queue.ts:65-71 (helper)The getStatus() method in the Queue class that returns the current queue status including size, processing state, and current task.
getStatus(): QueueStatus { return { size: this.tasks.length, isProcessing: this.isProcessing, currentTask: this.currentTask, }; } - src/queue.ts:10-14 (schema)The QueueStatus interface/type definition that defines the structure of the queue status response.
export interface QueueStatus { size: number; isProcessing: boolean; currentTask?: QueueTask; }