set_marketing_consent
Record whether this lead agreed that the quality of their enquiry may be reported back to the advertising platform it came from. Nothing is ever reported without this. Three states: true (given), false (refused), null (never asked — behaves like refused when sending, but is a different fact). Always say where the consent came from (source), e.g. 'meta_lead_form' or 'web_form' — a consent without a provenance is worth nothing if it is ever disputed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lead_id": "<lead_id>"
},
"name": "set_marketing_consent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Where the consent was given, e.g. 'meta_lead_form'. | |
| consent | No | true | false | null (never asked). | |
| lead_id | Yes | ID of the lead |