send_chat_message
Sends an outgoing chat message to a customer in a lead's conversation; finds the lead's talk and posts the text, failing if none exists.
Instructions
Send an outgoing chat message to the customer in a lead's conversation. Finds a conversation (talk) whose entity is this lead and posts to it; fails with an error if the lead has none. The message is delivered externally and cannot be recalled by this server, and repeated calls send duplicates. Use add_note for internal notes.
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": {
"lead_id": "<lead_id>",
"text": "<text>"
},
"name": "send_chat_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Message text sent to the customer. | |
| lead_id | Yes | ID of a lead that already has an active conversation. Get it from list_leads. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||