Record consent
record_consentStore proof that an address opted in, as the user's signup form saw it: what the person agreed to, from where and when. It does not resubscribe or unblock anyone by itself.
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": {
"project_id": "<project_id>",
"email": "<email>",
"wording": "<wording>",
"ip_address": "<ip_address>",
"user_agent": "<user_agent>",
"consented_at": "<consented_at>"
},
"name": "record_consent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| wording | Yes | ||
| ip_address | Yes | ||
| project_id | Yes | ||
| user_agent | Yes | ||
| consented_at | Yes | When they agreed, in epoch milliseconds. |