create_upload_media
Upload a file or URL to WhatsApp media storage and return a numeric mediaId for use with send_file or send_sticker.
Instructions
Upload a file to WhatsApp media storage and get a numeric mediaId
for later use with send_file / send_sticker (mediaId field, not body).
Pass the file as body or url — an HTTP(S) URL or a base64 data URI.
The mediaId in the response is a numeric string (keep it as a string).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_upload_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| body | No |