Can I message this person now?
can_messageCheck messaging platform rules before sending: verify whether the reply window is open, when it ends, which conditions apply, and what alternatives exist based on the last inbound message.
Instructions
Check the platform rules for a conversation without sending: is the reply window open, when does it end, what conditions apply and what alternatives exist. Based on the last inbound message this server has seen.
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": {
"channel": "<channel>",
"conversation_id": "<conversation_id>"
},
"name": "can_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Message tag when kind is tag, for example HUMAN_AGENT. | |
| kind | No | Message kind. Default free_form. Others: template (WhatsApp), tag, private_reply. | |
| sender | No | bot (automation, default) or human (a person replying manually). | |
| channel | Yes | Channel: whatsapp, instagram, messenger or telegram. | |
| conversation_id | Yes | The other party id as returned by list_conversations: phone number (WhatsApp), PSID (Messenger), IGSID (Instagram) or chat id (Telegram). |