set_preferences
Merge key-value pairs into existing preferences, with optional device-specific overrides. Delete a preference by setting its value to null.
Instructions
Set user preferences, optionally for a specific device.
Merges the provided key-value pairs into existing preferences. To delete a key, set its value to null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preferences | Yes | Key-value pairs to set. Keys use dot notation (e.g. "ecn.default_author", "fab.default_scale"). | |
| device_id | No | Optional device identifier. If provided, preferences are stored as device-specific overrides. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||