upload_reusable_attachment
Upload a public file, image, audio, or video to Meta servers and get a reusable attachment ID, so DMs can reuse the media without uploading it again.
Instructions
Upload an attachment to Meta servers using Attachment Upload API to get a reusable attachment_id for fast zero-reupload DM delivery.
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": {
"attachment_type": "<attachment_type>",
"url": "<url>"
},
"name": "upload_reusable_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Direct public URL to the file to upload. | |
| attachment_type | Yes | Type of attachment: "file" (PDF/docs), "image", "audio", or "video". |