Record a lead's consent
luca_leads_consents_grantGrant a lead's consent for a specific channel and purpose, with source and evidence, so compliant follow-up messages can be sent.
Instructions
Grant explicit lead consent for a channel purpose.
Luca operation: POST /api/leads/{id}/consents Required scopes: leads:write Required OAuth scope: luca:queue_ops; data sensitivity: redacted 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 |
|---|---|---|---|
| id | Yes | ||
| 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 |