emergency_silence
Instantly stop all audio and mute system sounds to address urgent situations, using a command from the Windows TTS MCP Server.
Instructions
긴급 음소거 - 모든 오디오 중지 + 시스템 음소거
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- windows_tts_mcp/main.py:398-423 (handler)The main handler function for the 'emergency_silence' tool. It kills all TTS processes, mutes the system volume using PowerShell SendKeys, and optionally uses nircmd if available.def emergency_silence() -> str: """긴급 음소거 - 모든 오디오 중지 + 시스템 음소거""" try: # 1. TTS 프로세스 모두 종료 kill_all_tts() # 2. 시스템 음소거 try: subprocess.run([ "powershell", "-Command", "(New-Object -ComObject WScript.Shell).SendKeys([char]173)" # 음소거 키 ], capture_output=True, timeout=3) except: pass # 3. 대안: nircmd 사용 (설치되어 있다면) try: subprocess.run(["nircmd", "mutesysvolume", "1"], capture_output=True, timeout=3) except: pass return "[EMERGENCY] 긴급 음소거 실행 완료 (TTS 중지 + 시스템 음소거)" except Exception as e: return f"[ERROR] 긴급 음소거 오류: {str(e)}"