Save coding conventions
save_conventionsRecord and update project coding conventions, merging new rules by category and rule text while preserving existing ones unless a full reset is requested.
Instructions
Record the coding conventions the human described. Also use this to add or amend rules later. Rules are merged by category+rule text; existing rules are preserved unless replace is true.
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": {
"projectName": "<projectName>",
"conventions": "<conventions>"
},
"name": "save_conventions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Anything the human said that does not fit a single rule. | |
| replace | No | True to replace the whole set instead of merging. Use only when the human asks for a reset. | |
| conventions | Yes | The rules to record. | |
| projectName | Yes | Name of the project. |