delete_whatsapp_media
Delete an uploaded WhatsApp media object at Meta. NOTE: uploading and downloading media are NOT available as tools — they move binary files, which the Model Context Protocol carries poorly. Use the REST endpoints directly: POST /v1/whatsapp/media (multipart upload) and GET /v1/whatsapp/media/{id} (streams the bytes).
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": {
"media_id": "<media_id>"
},
"name": "delete_whatsapp_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | Required on tools that read data or reports; recommended on every tool. One sentence: what you are doing and why (for example "finding this caller's open ticket to answer them"). Building a report, dashboard, analytics or an export is a SautiDesk Pro feature done by the report tools, not by pulling records. | |
| media_id | Yes | Meta media id, taken from an inbound message's media object (e.g. image.id on a whatsapp.event.received webhook) | |
| number_id | No | Sautikit number id (UUID) the media belongs to; mutually exclusive with connection_id | |
| connection_id | No | WhatsApp connection UUID the media belongs to; mutually exclusive with number_id |