send_message
Send text or media messages to Instagram or Facebook Messenger users using their platform APIs.
Instructions
Send a message to a user on Instagram or Facebook Messenger. Can send text or media (image, video, audio).
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": {
"platform": "<platform>",
"recipientId": "<recipientId>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Platform to send message on | |
| recipientId | Yes | The user ID to send the message to | |
| text | No | Text message content (optional if sending media) | |
| mediaUrl | No | URL of media to send (optional) | |
| mediaType | No | Type of media being sent | |
| isHumanAgent | No | Set to true if message is from human agent (extends messaging window) |