truth_upsert_rule
Create or update ground-truth rules and specs across local disk, RAM mirror, and Firestore, requiring explicit human confirmation before syncing changes.
Instructions
Create or update a ground-truth rule or spec both locally on disk, in RAM mirror, and in Firestore (requires human confirmation)
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": {
"file_path": "<file_path>",
"section_title": "<section_title>",
"content": "<content>"
},
"name": "truth_upsert_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Scope of the rule: project or global | project |
| content | Yes | Content of the rule | |
| file_path | Yes | Relative file path to markdown rule file (e.g. docs/RULES.md) | |
| section_title | Yes | Title of the rule section | |
| user_confirmed | No | Must be set to true ONLY AFTER the user has explicitly approved this change in chat | |
| confirmation_token | No | The confirmation token received during the initial PENDING_HUMAN_APPROVAL step |