add_constraint
Add a constraint to enforce narrative consistency, such as forbidding actions after a terminal state or ensuring numerical monotonicity.
Instructions
[constraint] 制約を1件追加する(作者の指示でルールを微調整)。template:
forbid_after_state: 終端状態の後に特定属性を禁止(EC慣性)。params={terminal_attr, terminal_value, forbidden_attrs}。例: 死後の行為禁止。
monotone: 数値の単調性。params={attr, direction("nondecreasing"|"nonincreasing")}。例: 台帳の増加。
acyclic: 順序の無循環。params={order_attr}。例: 時間順序。
release: 終端状態の解放(EC Release)=forbid_after_stateの例外。params={terminal_attr, terminal_value, subject?}。例: 派生作で死者復活を許可。 scope={subject:..} で対象主体を限定可。
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>",
"template": "<template>",
"params": "<params>"
},
"name": "add_constraint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| scope | No | ||
| branch | Yes | ||
| params | Yes | ||
| template | Yes |