cg_rules
Manage custom validation rules for Cartograph validate and checkin. List, initialize, or reset project or global rules with language filters to enforce standards.
Instructions
List or manage custom validation rules that run during Cartograph validate and checkin.
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>"
},
"name": "cg_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Whether to target project rules or global rules. Defaults to project. | |
| action | Yes | Rules action to perform. | |
| confirm | No | Required as true for reset. | |
| language | No | Language filter or target. |