battle_loop
Automatically play through an entire battle from start to finish, handling dice rolls, card placement, emotion card selection, and phase stuck detection. Returns victory status and round count.
Instructions
Auto-play through an entire battle until it ends.
Handles: round-start dice, auto card placement, emotion card selection, phase stuck detection, and story skips.
Emotion card strategy: calls get_emotion_candidates, picks the Positive card with highest emotionLevel. For smarter selection, the LLM can interrupt and call select_emotion_card manually.
Returns {"result": "victory"|"timeout"|"not_in_battle", "rounds": N}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_rounds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||