retrieve_media
Fetches a WhatsApp Business (WABA) media URL and metadata using a mediaId from uploadMedia; the returned URL is temporary and expires in about 5 minutes.
Instructions
Get WABA media URL and metadata by mediaId (from uploadMedia).
The returned url is temporary and typically expires within ~5 minutes.
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": {
"mediaId": "<mediaId>"
},
"name": "retrieve_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaId | Yes |