Log a new lead
log_leadOwners only (needs sign-in): Call this when a new lead arrives (e.g. a Thumbtack, Angi, Bark or Yelp lead email in Gmail, or a Facebook/Instagram message). Returns a firm quote, open times, and a reply draft. For platform leads (Thumbtack, Angi, Bark, Yelp, Google), the customer name and contact are not stored and the reply must be sent inside that platform; never send platform customers links to book elsewhere.
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": {
"source": "<source>"
},
"name": "log_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | ||
| pets | No | ||
| sqft | No | Home size in square feet, only if the customer said it. Homes larger than usual for their bedroom count cost more; never guess | |
| issue | No | Plumbing and heating & AC pros only, instead of bedrooms/bathrooms. plumbing: leak (Leak or drip), clog (Clogged drain or toilet), water_heater (Water heater), toilet (Toilet repair), fixture (Faucet, sink or fixture), no_water (Low or no water), other (Something else). hvac: no_cool (AC not cooling), no_heat (No heat), maintenance (Tune-up or maintenance), noise (Noise, smell or leak), thermostat (Thermostat), other (Something else) | |
| source | Yes | ||
| add_ons | No | ||
| contact | No | Only for direct leads | |
| details | No | Plumbing and heating & AC pros only: the problem in the customer's words | |
| bedrooms | No | ||
| lead_ref | No | The platform's lead or request ID | |
| bathrooms | No | ||
| lead_cost | No | What the platform charged, USD | |
| clean_type | No | move_out also covers move-in. turnover = short-term rental (Airbnb/Vrbo) clean between guests | standard |
| selections | No | What they asked for, from your catalog, for a firm price and open times | |
| customer_first_name | No |