Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Respond to WebEx voice clips with both text and an MP3 voice reply using edge-tts. Voice IN is already handled by OpenClaw transcription. Use when a user sends a voice message in WebEx, you need to reply with audio, or you want to generate a spoken MP3 response.
.claude/skills/automateyournetwork-webex-voice-interface/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 29% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 11% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 272% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -21% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -24% | 0% |
User sends voice clip in WebEx space
|
v
OpenClaw transcribes automatically (built-in)
|
v
NetClaw processes with full skill set
(pyATS, NetBox, ServiceNow, all 43 MCP servers)
|
v
python3 $MCP_CALL "python3 -u $TTS_MCP_SCRIPT" text_to_speech -> MP3 file
|
v
Upload MP3 to WebEx thread + post text responseTreat the transcribed voice message identically to a typed text message. Use the full NetClaw skill set -- pyATS, NetBox, ServiceNow, etc.
After composing your text response, call text_to_speech:
bashpython3 $MCP_CALL "python3 -u $TTS_MCP_SCRIPT" text_to_speech '{"text":"R1 has 3 OSPF neighbors, all in FULL state on Area 0...","voice":"en-US-GuyNeural"}'
This returns JSON with an output_path to the generated MP3 file.
To list available voices:
bashpython3 $MCP_CALL "python3 -u $TTS_MCP_SCRIPT" list_voices '{"language":"en"}'
Post the text response in the WebEx space/thread AND upload the MP3 file as an attachment via the Messages API (multipart/form-data with files parameter):
> Voice Response > MP3 audio file attached] > > R1 has 3 OSPF neighbors, all in FULL state on Area 0: > - 2.2.2.2 (R2) via Gi1 -- FULL/DR > - 3.3.3.3 (R3) via Gi2 -- FULL/BDR
Always deliver text AND voice. Text is primary (searchable, accessible). Voice is supplementary.
| Voice | Description | |-------|-------------| | en-US-GuyNeural | Professional male -- default | | en-US-JennyNeural | Professional female | | en-US-AriaNeural | Conversational female | | en-GB-RyanNeural | British male |
Users can request a voice change:
Call list_voices to see all 300+ available voices.
| Phase | Latency | |-------|---------| | edge-tts synthesis | 1-2 seconds | | WebEx MP3 upload | < 1 second |
Voice synthesis adds minimal overhead to the response time.
If TTS fails, deliver the text response immediately. Do not block on voice.
WebEx Messages API supports file attachments via multipart upload:
POST https://webexapis.com/v1/messages
Content-Type: multipart/form-data
- roomId: <space-id>
- parentId: <thread-parent-message-id> (if threading)
- text: "Voice Response: R1 has 3 OSPF neighbors..."
- files: @/tmp/netclaw-tts/response.mp3Files up to 100 MB are supported. MP3 voice responses are typically under 1 MB.
Record voice interactions in the GAIT audit trail:
Input: Voice clip from @user (transcript: "What are your interfaces?")
Action: Queried R1 interfaces via pyATS
Output: 4 interfaces found -- text + voice response delivered to WebExOther measured skills in the registry, with their headline benchmark lift.