tradeWithVillager
Initiate trades with Minecraft villagers remotely by specifying the trade index and count. Part of the MCP Minecraft Remote server, it simplifies villager interactions for AI-assisted gameplay.
Instructions
Trade with a nearby villager
Input Schema
Name | Required | Description | Default |
---|---|---|---|
count | No | Number of times to perform the trade | |
tradeIndex | Yes | Index of the trade from listTrades (1-based) | |
villagerName | No | Name or identifier of the villager (optional) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"count": {
"default": 1,
"description": "Number of times to perform the trade",
"type": "number"
},
"tradeIndex": {
"description": "Index of the trade from listTrades (1-based)",
"type": "number"
},
"villagerName": {
"description": "Name or identifier of the villager (optional)",
"type": "string"
}
},
"required": [
"tradeIndex"
],
"type": "object"
}