Conversion Tool

capture_lead

Capture a shopper lead for merchant follow-up when an agent identifies buying intent that needs human handoff.

Parameters

ParameterTypeRequiredDefaultDescription
namestringCustomer's full name.
emailstringCustomer's email address.
contextstringWhat the customer needs, including a short summary of the conversation context.
lead_typestringlead_genType of lead: handover, lead_gen, callback_request, or a custom value.
phonestring | nullnullCustomer's phone number.
agent_idstring | nullnullYour agent ID for attribution tracking.

Example

Example Call
// Tool call
{
  "name": "capture_lead",
  "arguments": {
    "name": "Jordan Lee",
    "email": "jordan@example.com",
    "context": "Interested in a bulk hoodie order and wants a merchant follow-up.",
    "lead_type": "handover",
    "phone": "+1 555 0100",
    "agent_id": "agent_abc123def456"
  }
}

Response

Response
{
  "message": "Lead captured successfully.",
  "lead_type": "handover"
}