Create a lead
create_leadCreate a new lead or return the existing one by phone number, preventing duplicate contacts in voice calling campaigns.
Instructions
Creates a lead, or returns the existing one with that phone number (201 created, 200 found - check the tool's isError/status if that distinction matters to you).
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": {
"phone": "<phone>"
},
"name": "create_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tags | No | ||
| No | |||
| phone | Yes | ||
| source | No |