set_user_preference
Saves a persistent developer preference or global coding rule, such as a test runner or naming convention, so AI coding agents retain conventions across sessions.
Instructions
Save a persistent developer preference or global coding rule (e.g., preferred test runner, naming conventions, forbidden packages).
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": {
"key": "<key>",
"value": "<value>"
},
"name": "set_user_preference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Unique preference key (e.g. 'typescript.strict_mode', 'db.orm_policy'). | |
| value | Yes | Preference rule or value. | |
| category | No | Preference category (e.g. 'coding-style', 'stack', 'security'). |