upgrade_unit
Upgrade a unit to its advanced form, like Slinger to Archer, when technology and gold allow. The upgrade consumes the unit's remaining movement, so plan carefully.
Instructions
Upgrade a unit to its next type (e.g. Slinger -> Archer).
Args:
unit_id: The unit's composite ID (from get_units output)
Requires the right technology, enough gold, and the unit must have
moves remaining. The unit's movement is consumed by upgrading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |