propose_trade
Propose trade deals with other civilizations by offering gold, resources, diplomatic favor, or open borders, and request the same in return. Use test mode to preview the AI's counter-offer before committing.
Instructions
Propose a trade deal to another civilization.
Args:
other_player_id: The player ID (from get_diplomacy output)
offer_gold: Lump sum gold to give them
offer_gold_per_turn: Gold per turn to give them (30-turn duration)
offer_resources: Comma-separated resource types to offer, e.g. "RESOURCE_SILK,RESOURCE_TEA"
offer_favor: Diplomatic favor to offer
offer_open_borders: True to offer our open borders
request_gold: Lump sum gold to request from them
request_gold_per_turn: Gold per turn to request (30-turn duration)
request_resources: Comma-separated resource types to request
request_favor: Diplomatic favor to request from them
request_open_borders: True to request their open borders
joint_war_target: Player ID of a third civ to declare joint war against
mode: "send" to commit the deal, "test" to preview AI's counter-offer without committing
Examples: Gift 100 gold: offer_gold=100. Trade silk for 3 gpt: offer_resources="RESOURCE_SILK", request_gold_per_turn=3.
Mutual open borders: offer_open_borders=True, request_open_borders=True.
Test a deal first: mode="test" to see what the AI thinks is fair, then mode="send" to commit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| other_player_id | Yes | ||
| offer_gold | No | ||
| offer_gold_per_turn | No | ||
| offer_resources | No | ||
| offer_favor | No | ||
| offer_open_borders | No | ||
| request_gold | No | ||
| request_gold_per_turn | No | ||
| request_resources | No | ||
| request_favor | No | ||
| request_open_borders | No | ||
| joint_war_target | No | ||
| mode | No | send |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |