send_text
Sends a text message via WhatsApp with a two-step confirmation: first returns a preview of the resolved recipient for user approval, then sends only after confirmation.
Instructions
Envia uma mensagem de texto. Exige confirmação em duas etapas.
Chame primeiro com confirmar=False: nada é enviado e volta um preview com o destinatario resolvido. MOSTRE esse preview ao usuário e só chame de novo com confirmar=True depois que ele aprovar.
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": {
"chat": "<chat>",
"texto": "<texto>"
},
"name": "send_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| texto | Yes | ||
| instance | No | ||
| confirmar | No | ||
| responder_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |