messenger_send_attachment
Send image, audio, video, or file attachments to a Messenger recipient using a public URL or previously uploaded attachment ID.
Instructions
Send a media attachment (image, audio, video or generic file).
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": {
"psid": "<psid>",
"type": "<type>"
},
"name": "messenger_send_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL of the media | |
| psid | Yes | Page-Scoped User ID (PSID) of the recipient | |
| type | Yes | ||
| page_id | No | Facebook Page ID (falls back to MESSENGER_PAGE_ID env) | |
| is_reusable | No | ||
| access_token | No | Page Access Token (falls back to MESSENGER_PAGE_ACCESS_TOKEN env) | |
| attachment_id | No | ID of a previously uploaded attachment (from messenger_upload_attachment) |