add_constraint
Record a user rule that must never be broken; optionally protect file globs and share the rule team-wide for teammate and CI checks.
Instructions
Record a rule from the user that must never be broken. paths: globs of files the rule protects (guardrail warnings fire when they change). shared: true only when the user asks for a team-wide rule; it is written to .tagteam/constraints.json in the repo, where teammates and CI (tagteam check) see it.
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": {
"text": "<text>"
},
"name": "add_constraint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| paths | No | ||
| shared | No |