transcribe_voice_message
Transcribes Google Chat voice messages automatically when an audio attachment is detected. Supports custom language for transcription.
Instructions
Transcribe a voice message from Google Chat.
IMPORTANT: Call this tool AUTOMATICALLY whenever you see a Google Chat message with an audio attachment (contentType: audio/*). Do NOT ask the user first - just transcribe. Treat voice messages like text: transcribe immediately and show the result.
Args: message_url: Google Chat message URL or resource name (spaces/X/messages/Y) Example URLs: - https://chat.google.com/dm/SPACE/THREAD/MSG?cls=10 - spaces/SPACE_ID/messages/MSG_ID language: Language code for transcription (default: "it" for Italian)
Returns: The transcribed text of the voice message
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message_url": "<message_url>"
},
"name": "transcribe_voice_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_url | Yes | ||
| language | No | it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |