Save project rule
save_project_ruleAdd one rule to the project's rules: a short directive (up to 120 characters, one line) that every editing session of this project follows, in ronda's web editor too, for example "User-facing copy lives in messages/en/*.json; edit those files, not the components." Suggest a rule when the user corrected you or a fix revealed a project convention, and save it only after the user agreed to that exact wording (confirmedByUser: true records that; it does not grant anything). The same rule is never added twice. The saved rules are in open_session's projectContext. Adds to the rules; does not change code.
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": {
"projectId": "<projectId>",
"rule": "<rule>",
"confirmedByUser": "<confirmedByUser>"
},
"name": "save_project_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | The rule: one short line (up to 120 characters) every editing session of this project follows. | |
| context | No | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| projectId | Yes | The ronda project id, from list_projects, show_projects or create_project. | |
| confirmedByUser | Yes | The user agreed to this exact wording. An acknowledgement, not a permission. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | ||
| saved | Yes | ||
| duplicate | Yes | ||
| projectId | Yes | ||
| redaction | Yes | ||
| ruleCount | Yes | ||
| settingsUrl | No | ||
| remainingChars | Yes |