Update Battle Lifecycle
battle_lifecycleManage active D&D 5e battles: swap initiative with a willing ally, finalize initial setup, or atomically add/remove combatants from character sessions or installed stat blocks.
Instructions
Apply one Battle lifecycle operation: swap Initiative with a willing ally or finalize initial setup, or atomically add/remove a supported Character Session or installed Stat Block combatant while the Battle is active.
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": {
"operation": "<operation>",
"playSessionId": "<playSessionId>"
},
"name": "battle_lifecycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| playSessionId | Yes | Play Session handle returned by create_play_session for follow-up stateful calls in the same local process or authenticated account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||