Adapter Details: preferences

Per-user preferences: one map of any structure that every agent acting for the user should know, read at x/preferences and edited with one tool (set, remove, append, insert, merge).

Name:preferences
Class:covia.adapter.PreferencesAdapter

MCP Tools

This adapter provides 1 MCP tool(s) for AI agent integration:

Tool NameDescription
preferencesChange the user's preferences: one map of what every agent acting for them should know, such as units, tone, timezone or diet. Your current preferences are in context; read x/preferences if they are not. Pick the change with `command`. 'set' stores `value` at `path`. 'remove' deletes the entry at `path`; with a `value`, it removes the items equal to it from the list at `path`. 'append' adds `value` to the end of the list at `path`, creating the list if needed. 'insert' puts `value` into a list before a position, with `path` ending in the position. 'merge' merges a map `value` into the map at `path`, or into all preferences when there is no path; a key set to null is removed, and any other value, a list included, replaces what was there. A path separates keys with '/', such as 'units' or 'diet/allergies'; a number picks a list item, counting from 0. Every command except merge needs a path. Use append or insert to add to a list.

Navigation

Back to all adapters

Back to index