| name | alfworld-object-cooler |
| description | Cools a held object using an appropriate cooling appliance such as a fridge or freezer. Use when the task requires reducing the temperature of an object (e.g., "cool some pot", "chill the mug") and the agent is already holding the object. Performs the ALFWorld `cool` action and outputs the cooled object ready for subsequent placement or serving steps. |
Skill: Cool Held Object
Purpose
Use this skill when you are holding an object (e.g., pot 1) that needs to be cooled and you are at the location of a valid cooling receptacle (e.g., fridge 1). The skill executes the cool action to change the object's state.
Prerequisites
- Object in Hand: You must already be holding the target object (e.g.,
pot 1).
- At Cooling Receptacle: You must be at the location of the cooling appliance (e.g.,
fridge 1). Use go to {recep} to navigate first if needed.
- Valid Receptacle: The receptacle must be a valid target for the
cool action (e.g., fridge, freezer). The environment will validate this.
Core Action
Execute the cool action with the format: cool {obj} with {recep}.
Execution Flow
- Verify State: Confirm you are holding the object and are at the cooling receptacle's location.
- Execute: Perform the
cool action.
- Verify Outcome: The expected observation is "You cool the {obj} using the {recep}." If the observation is "Nothing happened," the action was invalid—check the prerequisites or try a different receptacle.
Example from Trajectory
- State: Holding
pot 1, at fridge 1.
- Action:
cool pot 1 with fridge 1
- Result: Observation: "You cool the pot 1 using the fridge 1."
Next Steps
After successful cooling, the object is ready for the next task step (e.g., put {obj} in/on {recep}).