Send an enquiry to the team
create_leadSends the customer’s enquiry or call-back request, with their name and phone, to the business’s team, who contact them on WhatsApp or by phone. For when the customer has asked to be contacted. Only for businesses that take requests through AI assistants; others answer with their WhatsApp and chat links.
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": {
"business": "<business>",
"phone": "<phone>",
"message": "<message>"
},
"name": "create_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| No | |||
| phone | Yes | The customer’s phone or WhatsApp number with country code, e.g. +91 98765 43210, shared by the customer to be contacted. | |
| message | Yes | What the customer wants, in a sentence or two. | |
| business | Yes | The business id from find_businesses, e.g. "carat-story". | |
| call_back | No | The customer asked to be called. | |
| product_id | No | ||
| product_title | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| status | Yes | ||
| next_step | Yes |