villager-trade
Execute trades with an open villager by specifying the trade index and optional repeat count, enabling automated item exchanges in Minecraft.
Instructions
Execute a trade with an open villager
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| times | No | Number of times to repeat the trade (default: 1) | |
| tradeIndex | Yes | Index of the trade to execute (0-based) |