Get the lead capture prompt
get_lead_captureGet the lead capture prompt
The instruction the agent's built-in Capture Lead tool follows: when a conversation holds
a lead, and what the AI writes in the lead's summary. It is the same text your team edits
under Clients → ⋮ → AI Instructions in the dashboard. Only the prompt: the tool's other
settings stay in the dashboard. It is returned whether the tool is switched on or off. An
agent without the tool is 404 lead_capture_not_found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`. |