Set lead status
set_lead_statusRecord a campaign lead's interest outcome (free, idempotent): interested, meeting_booked, won, not_interested, out_of_office, or neutral. Accepts the campaign_lead_id exposed by get_reply. meeting_booked may include a reference, but it remains explicitly unconfirmed until Layrcake has a calendar connection that can verify it; free text, a booking page or a click is never proof. Captain/API corrections always replace the projected status; only later automated Inbox outcomes preserve stronger positive progress. not_interested still irreversibly suppresses the contact from future campaigns in the workspace and removes them from active campaigns. The projected status is mirrored to the sending provider in the background; provider_sync_status reports pending, synced, failed, or unsupported. dry_run: true returns an advisory estimate as of evaluated_at, reserves nothing, and may differ from a later execution plan.
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": {
"campaign_lead_id": "<campaign_lead_id>",
"status": "<status>",
"idempotency_key": "<idempotency_key>"
},
"name": "set_lead_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proof | No | ||
| status | Yes | ||
| dry_run | No | ||
| idempotency_key | Yes | A payment_required refusal means services are stopped for unpaid billing; direct the owner to the billing link in the error. Campaigns stay paused after payment until restarted. Optional for search and enrichment tools: supply one so a retry returns the original result without paying again; if that call failed with provider_unavailable, rate_limited or insufficient_credits (after a top-up), a retry runs it once more after its cooldown (30 s, or a longer retry_after_seconds; insufficient_credits as soon as the balance covers it), unless its provider may already have done the work. Required for tools that create an external side effect; reuse the same value after a timeout or an approval. A stored failure comes back with details.replayed: true; with retry_after_seconds, retry the same value after that. | |
| campaign_lead_id | Yes |