ghl_conversation_get_message_recording
Fetch a message recording as raw audio/x-wav by message ID and location ID; handle the binary WAV response instead of parsing JSON.
Instructions
Response is NOT JSON — returns the raw recording as audio/x-wav (Content-Disposition: attachment; filename=audio.wav) per the spec's response headers. Callers must handle a binary/audio body, not a parsed JSON object. Get Recording by Message ID Get the recording for a message by passing the message id Endpoint: GET /conversations/messages/{messageId}/locations/{locationId}/recording (Version header: v3; source: v3/conversations-v3.json) Requires a Sub-Account (location) token.
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": {
"locationId": "<locationId>",
"messageId": "<messageId>"
},
"name": "ghl_conversation_get_message_recording"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | Message ID as string | |
| locationId | Yes | Location ID as string |