Change privacy consents
update_consentsChange the user's privacy and communication consents. Requires conversation confirmation. Operations: consents. Returns the response envelope; nextActions list what the user can do next, primary first. Use confirm: false for a preview, then repeat identical inputs with confirm: true and the preview confirmationToken after the user confirms.
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": {
"operation": "<operation>",
"confirm": "<confirm>"
},
"name": "update_consents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Set to true only after the user has explicitly confirmed this action in the conversation. Describe what will change to the user first. | |
| consents | No | The consents supplied by the user. Follow the type and allowed values in this schema. | |
| operation | Yes | Choose the task. Each operation accepts only its own fields. | |
| confirmationToken | No | Token returned by the preview. Send it unchanged with confirm: true; it is valid for 15 minutes and only for the previewed inputs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| page | No | ||
| error | No | ||
| links | No | ||
| status | Yes | ||
| notices | No | ||
| polling | No | ||
| summary | Yes | ||
| agentHint | No | ||
| nextActions | Yes | ||
| appliedDefaults | No |