play_card
Play a Slay the Spire card by its ID from your hand, with optional enemy index for targeted attacks.
Instructions
Play a card by its id from hand (re-resolves the hand index).
Args:
card_id: card id field from state/decision_pack (e.g. "Strike_R").
target_index: 0-based enemy index for targeted attacks (omit for
non-targeted cards like Defend).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes | ||
| target_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |