update_campaign_state
Merge a patch into a D&D campaign's running state: world flags accumulate while other keys replace old values. Returns the merged state, creating it automatically on first use.
Instructions
合并 patch 进运行态 state.md(current/clocks/quests/world_flags 等);首次自动建。 world_flags 增量合并(不清旧旗标),其它 key 整体替换。返回合并后状态。
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": {
"campaign": "<campaign>"
},
"name": "update_campaign_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | No | ||
| variant | No | main | |
| campaign | Yes |