send_message
Send messages directly to WhatsApp contacts using a recipient's phone number and message content. Optionally reply to specific messages with a reply_to parameter.
Instructions
Send a message to a chat.
Parameters:
- phone_number: The phone number of the recipient
- content: The content of the message to send
- reply_to: ID of the message to reply to (optional)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | ||
phone_number | Yes | ||
reply_to | No |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"title": "Content",
"type": "string"
},
"phone_number": {
"title": "Phone Number",
"type": "string"
},
"reply_to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Reply To"
}
},
"required": [
"phone_number",
"content"
],
"title": "send_messageArguments",
"type": "object"
}