Record consents granted by an end user
fizen_grant_consentsRecords and updates the consents an end user actually granted in your product, keeping consent records accurate and limited to what the user agreed to.
Instructions
Records consents an end user granted (updates existing ones). Record only what the end user actually agreed to in your product. In production this tool is off unless FIZEN_ALLOW_CONSENT_CHANGES=true.
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": {
"userId": "<userId>",
"consentTypes": "<consentTypes>"
},
"name": "fizen_grant_consents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | Your own id of the end user (up to 40 characters). Consents with the same userId and bank are grouped, which extends how long history can be read. | |
| consentTypes | Yes | Consent types. |