Apply a lead import
luca_leads_import_applyApply a mapped lead import to Luca, creating or updating leads with consent evidence from your rows. Requires confirm and an idempotency key for safe retries.
Instructions
Apply a mapped lead import with consent evidence.
Luca operation: POST /api/leads/imports/apply Required scopes: leads:write Required OAuth scope: luca:queue_ops; data sensitivity: full_content Requires Idempotency-Key. Provide idempotencyKey for safe retries, or the server will generate one. Destructive: has a real-world side effect. You must pass confirm: true; the call is rejected without it. Use workspaceId or workspaceSlug to override the default workspace configured by environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| 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. | |
| workspaceId | No | Optional Luca workspace id override. | |
| workspaceSlug | No | Optional Luca workspace slug override. | |
| idempotencyKey | No | Stable key for safe retries. If omitted, the MCP server generates a unique key for this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| provenance | No |