matchLead
Get your lead in front of the right members: automatically match by category, location, and service area and notify them via email.
Instructions
Auto-match lead to members - Triggers automatic matching - system finds members matching category, location, and service area, then sends notification emails.
Use when: you've just created a lead (or need to re-distribute an existing one) and want BD to automatically email eligible members in matching category + location + service area. SIDE EFFECT: sends real emails to real members. Confirm with the user before calling on production data.
Required: lead_id.
Parameter interactions:
Side effect: sends notification emails to ALL members whose category, location, and service area match the lead
Not a dry-run - emails go out immediately. Not rate-limited per lead
lead_idmust reference an existing lead created viacreateLead
Returns: { status: "success"|"error", message: ... } - BD's standard response envelope.
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>"
},
"name": "matchLead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead_id | Yes |