messenger_send_text
Send a plain text Messenger message to a recipient by PSID, with optional tags for updates outside the 24-hour window.
Instructions
Send a plain text message on Messenger.
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>",
"text": "<text>"
},
"name": "messenger_send_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Required when messaging_type=MESSAGE_TAG (outside 24h window) | |
| psid | Yes | Page-Scoped User ID (PSID) of the recipient | |
| text | Yes | ||
| page_id | No | Facebook Page ID (falls back to MESSENGER_PAGE_ID env) | |
| access_token | No | Page Access Token (falls back to MESSENGER_PAGE_ACCESS_TOKEN env) | |
| messaging_type | No | RESPONSE |