rules
Manage rule profiles in projects by adding or removing specific configurations like Cursor, Claude, or VSCode. Ensure precise control over project settings through defined actions and profiles.
Instructions
Add or remove rule profiles from the project.
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": {
"action": "<action>",
"profiles": "<profiles>",
"projectRoot": "<projectRoot>"
},
"name": "rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Whether to add or remove rule profiles. | |
| force | No | DANGEROUS: Force removal even if it would leave no rule profiles. Only use if you are absolutely certain. | |
| profiles | Yes | List of rule profiles to add or remove (e.g., ["cursor", "roo"]). Available options: amp, claude, cline, codex, cursor, gemini, kiro, opencode, roo, trae, vscode, windsurf, zed | |
| projectRoot | Yes | The root directory of the project. Must be an absolute path. |