set_constraint
Resolve consistency issues by enabling, disabling, or removing constraints in branching narratives.
Instructions
[constraint] 制約のライフサイクル操作を1つに集約。remove=True で削除(操作ログは不変なのでロールバックで復活/デフォルトも消せる)。 enabled=False で無効化(一時停止)、enabled=True で再有効化。両方指定時は remove を優先。
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": {
"branch": "<branch>",
"cid": "<cid>"
},
"name": "set_constraint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | ||
| branch | Yes | ||
| remove | No | ||
| enabled | No |