get_tts_status
Check the current status of the Text-to-Speech (TTS) service on the Windows TTS MCP Server to monitor its operational state and ensure functionality.
Instructions
현재 TTS 상태를 확인합니다
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- windows_tts_mcp/main.py:375-396 (handler)The handler function for the 'get_tts_status' tool. It checks the number of active TTS processes using the global running_processes list and process_lock, returning a status message indicating if TTS is active or idle.@mcp.tool() def get_tts_status() -> str: """현재 TTS 상태를 확인합니다""" try: active_count = 0 with process_lock: # 실행 중인 프로세스 확인 for process in running_processes[:]: if process.poll() is None: # 아직 실행 중 active_count += 1 else: # 완료된 프로세스는 목록에서 제거 running_processes.remove(process) if active_count > 0: return f"[ACTIVE] 현재 {active_count}개의 음성이 재생 중입니다" else: return "[IDLE] 현재 재생 중인 음성이 없습니다" except Exception as e: return f"[ERROR] 상태 확인 오류: {str(e)}"