Set villager profession
set_villager_professionChange a Minecraft villager's profession by entity UUID, resetting its current trades so it takes on new work such as librarian, farmer, or weaponsmith.
Instructions
Change a villager's profession. This resets the villager's current trades.
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": {
"uuid": "<uuid>",
"profession": "<profession>"
},
"name": "set_villager_profession"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Entity UUID, e.g. as returned by summon_entity or get_players. | |
| profession | Yes | New profession. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||