search_lead_insights.
Each kind needs its own id — there is no single shared lead_id shape:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Produce a call script, a prepare-insight, a call summary, or queue a lead analysis.
search_lead_insights.
Each kind needs its own id — there is no single shared lead_id shape:
// kind=call_script: lead_id and task_id are both required.
generate_lead_insight({ kind: "call_script", lead_id, task_id })
// kind=insight: lead_id and appointment_id are both required.
generate_lead_insight({ kind: "insight", lead_id, appointment_id })
// kind=call_summary: lead_id and call_record_id are both required.
generate_lead_insight({ kind: "call_summary", lead_id, call_record_id })
// kind=analysis: lead_ids (up to 10), not lead_id.
generate_lead_insight({ kind: "analysis", lead_ids: [lead_id, ...] })