Use when the agent needs to apply a tool to a target object in ALFWorld to accomplish an interaction such as cleaning, heating, cooling, or examining. This skill handles locating both the tool and target object, then executing the correct environment action (e.g., `clean`, `heat`, `cool`, `use`) to progress the task.
Trigger this skill when:
knife 1, potato 2)sinkbasin 1, microwave 1)clean, heat, cool, use, examine)take {object} from {receptacle}Apply the tool to the object using the correct action syntax:
| Interaction | Action Command | Example |
|---|---|---|
| Clean | clean {obj} with {tool} | clean knife 1 with sinkbasin 1 |
| Heat | heat {obj} with {tool} | heat potato 2 with microwave 1 |
| Cool | cool {obj} with {tool} | cool apple 1 with fridge 1 |
| Examine | examine {obj} | examine book 3 |
| Use | use {tool} | use desklamp 1 |
knife 1 becomes clean)sinkbasin for cleaning, not bathtub).take first.Task: "Clean the knife and put it in the drawer."
> go to countertop 1
On the countertop 1, you see a knife 1, a saltshaker 2.
> take knife 1 from countertop 1
You pick up the knife 1 from the countertop 1.
> go to sinkbasin 1
On the sinkbasin 1, you see nothing.
> clean knife 1 with sinkbasin 1
You clean the knife 1 using the sinkbasin 1.
Result: knife 1 is now clean and ready for the next step (storing).