Add constraint
constraint_addAppend a rule, limit, or requirement to a change so future work respects it. Constraints appear in change_status, preventing later chats from re-asking.
Instructions
Append one constraint to a change: a rule, limit or requirement that the work must respect (for example 'no new runtime dependencies'). Constraints are shown by change_status so later chats do not have to re-ask.
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": "constraint_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The constraint, phrased as a short rule. | |
| changeId | No | Change id. Defaults to the active change; an unknown id is a clean error. | |
| workspace | No | Workspace name (see workspace_list). Defaults to the primary workspace. |