Speech Transcribe
Use the audio_transcribe tool when the user asks to transcribe,
caption, diarize, timestamp, or identify speakers in an audio or video clip.
The tool comes from the media-tools plugin. If it is not in your tool list,
tell the user to enable it with hybridclaw plugin install media-tools.
Workflow
- Call
audio_transcribewithaction: "list"if you need provider
readiness or the user asks what is configured.
- Pass
audioas a current attachment filename/ref,/workspacepath,
/discord-media-cache path, /uploaded-media-cache path, or HTTPS media
URL.
- Use
provider: "auto"unless the user asks foropenai,deepgram, or
assemblyai, or unless diarization is required. Auto mode honors the tenant
skills.speechToText.defaultProvider config when it is set. Prefer Deepgram
or AssemblyAI for speaker labels.
- Pass
languageonly when the user gives a known language. Omit it for
provider language detection.
- Set
diarization: truewhen the user asks for speaker labels. - Set
timestampstoword,segment, ornonebased on the request. - Return the structured result fields that matter: transcript text, provider,
detected language, duration, cost, warnings, and artifact paths.
The tool owns provider credentials, provider fallback, output schema,
long-audio chunking for local and remote OpenAI uploads when ffmpeg/ffprobe
are available, transcript artifact persistence, and usage-cost accounting.
Output Contract
The tool returns JSON shaped like:
{
"text": "Transcript text",
"segments": [{ "start": 0, "end": 1.2, "speaker": "speaker_0", "text": "..." }],
"language": "en",
"provider": "deepgram",
"duration_sec": 12.3,
"cost_usd": 0.001
}
Transcript text and segment JSON are also persisted as private workspace
artifacts. Treat transcripts as operator-private until the user explicitly asks
to share, post, email, or publish them.