await bot . activateItem () ; // This is the same as right - clicking to use

the item in the bot ’s hand . Useful for using buckets , etc . You

must equip the item to activate first

await bot . useOn ( entity ); // This is the same as right - clicking an

entity in the game . Useful for shearing sheep , equipping harnesses
, etc . You must get to the entity first

{ retrieved_skills }

At each round of conversation , I will give you
Code from the last round : ...
Execution error : ...
Chat log : ...
Biome : ...
Time : ...
Nearby blocks : ...
Nearby entities ( nearest to farthest ):
Health : ...

29

Hunger : ...
Position : ...
Equipment : ...
Inventory ( xx /36) : ...
Chests : ...
Task : ...
Context : ...
Critique : ...

You should then respond to me with
Explain ( if applicable ): Are there any steps missing in your plan ? Why

does the code not complete the task ? What does the chat log and

execution error imply ?
VOYAGER- An Open-Ended Embodied Agent with Large Language Models