ensure_code_brain_rule
Ensures the mandatory Code Brain rule and bootstrap rule exist in .cursor/rules, recreating them if removed. Call at session start or when rules may be missing; reload Cursor if restored.
Instructions
Ensure the mandatory Code Brain rule and bootstrap rule exist in .cursor/rules. If the rule was removed, this re-creates it. Call at session start or when the rule might be missing. If rules were restored, the response asks the user to reload the Cursor window.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ensure_code_brain_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||