Update my preferences
preferences_updateChanges your own preferences. Send only what changes: language, theme (saved as the account default for new devices), calendar, notifications ([{category, email?, telegram?}] for categories that are live), contact_channel (email, phone, whatsapp, telegram or null) and marketing_opt_out:true to stop marketing messages. reset_notifications:true restores the default notification settings and needs confirm:true. Agreeing to marketing messages is not possible here (website only). Pass expected_rev from preferences_get to avoid overwriting a newer change.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "preferences_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Account default theme for new devices. | |
| confirm | No | Required with reset_notifications. | |
| calendar | No | Calendar date pickers open in. | |
| language | No | Language for emails, Telegram messages and notification links. | |
| expected_rev | No | rev from preferences_get. | |
| notifications | No | Per category channel switches (live categories only). | |
| contact_channel | No | Preferred way to be contacted; null clears it. | |
| marketing_opt_out | No | Stop marketing messages. | |
| reset_notifications | No | Restore default notification settings (needs confirm:true). |