respond_to_trade
Accept or reject a pending trade deal by player ID, with an optional force override and recorded reason for joint-war invitations.
Instructions
Accept or reject a pending trade deal.
Args:
other_player_id: The player ID of the civilization (from get_pending_trades)
accept: True to accept the deal, False to reject it
force: Override the pre-war gate when accepting a joint-war invitation
force_reason: One sentence on WHY you are overriding. Recorded to
data/force_log.jsonl. Without it a post-game review cannot tell
a wrong gate from a wrong call — write it even when in a hurry.
(NO_SIEGE_VS_WALLS — accepting joint war = declaring war on the
target immediately)
Use get_pending_trades first to see what's being offered.
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": {
"other_player_id": "<other_player_id>",
"accept": "<accept>"
},
"name": "respond_to_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| accept | Yes | ||
| force_reason | No | ||
| other_player_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |