Close the loop on a call
luca_close_call_loopRecord call attendance and booking outcome in one report: file completed, no-show, rescheduled, or cancelled status plus won, lost, or open revenue results to update CRM and follow-ups.
Instructions
File what happened on a call and what it was worth, in one call. Reports attendance on the call event (completed, no_show, rescheduled, or cancelled) and, when an outcome is given, records the booking outcome: won with an amount, lost with a reason id from luca_bookings_outcome_reasons_list, or open with the next follow-up. This tool sends no message to the lead itself, but the records it files start work in the API. Reporting a no_show can start no-show recovery, which schedules a message to the lead when the booking type has recovery on. A completed call queues its summary, which can later sync to the connected CRM. A won or lost outcome queues a CRM deal-stage update, and lost also moves the lead to lost. Pass confirm: true before reporting a no_show or recording a won or lost outcome. Example: { bookingId, attendance: "completed", outcome: "won", amountMinor: 250000, currency: "USD", confirm: true }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | The coach's notes on the call, stored on the call event. | |
| rating | No | The coach's 1-5 rating of the call. | |
| confirm | No | This tool has a real-world side effect: it messages real leads, books, moves, or cancels a call, changes a lead's consent, imports leads, writes to a connected calendar or CRM, sends workspace events to an outside URL, or re-triggers downstream automations. Pass confirm: true to proceed; the call is rejected without it. | |
| outcome | No | The revenue outcome. Leave it off to report attendance only and record the money later. | |
| currency | No | ISO-4217 currency for amountMinor, uppercase. | |
| bookingId | Yes | The booking whose call just happened. | |
| attendance | Yes | What happened to the call itself. | |
| amountMinor | No | Deal value in minor units (cents) when outcome is won. | |
| outcomeNote | No | Note stored on the revenue outcome, separate from notes. | |
| workspaceId | No | Optional Luca workspace id override. | |
| workspaceSlug | No | Optional Luca workspace slug override. | |
| idempotencyKey | No | Reuse the same key when retrying this exact report. Both writes are scoped by route, so one key covers the pair. | |
| nextFollowUpAt | No | Required when outcome is open: ISO-8601 follow-up time. | |
| expectedVersion | No | The outcome version you read, when correcting an earlier outcome. A stale version returns 409 with the current one. | |
| followUpTimezone | No | Required when outcome is open: IANA timezone the follow-up is scheduled in. | |
| lossReasonDefinitionId | No | Required when outcome is lost: a reason id from luca_bookings_outcome_reasons_list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| provenance | No |