Skill: Retrieve Item from Container
Purpose
Transfer a specified item from an open, accessible container into the agent's inventory using the pick up action.
Trigger Conditions
Use this skill when all of the following are true:
- The agent has identified a specific item needed for a task.
- The item is located inside a container (e.g., jar, box, hive, closet).
- The container is already open and accessible (no
openaction required). - The agent's immediate goal is to possess the item for later use.
Core Action
Execute the pick up <ITEM> action, where <ITEM> is the exact name of the target object as observed in the environment.
Execution Workflow
- Verify Context: Ensure the target item is present in the current room's observation and is inside an open container.
- Execute Transfer: Perform the
pick up <ITEM>action. - Confirm Success: The expected observation is:
"You move the <ITEM> to the inventory."If a different result occurs, consult the troubleshooting guide.
Important Notes
- Pre-condition: This skill assumes the container is already open. If the container is closed, you must use the
openaction first. - Ambiguity: If multiple identical items exist (e.g., "avocado seed, avocado seed, avocado seed"), the
pick upaction will typically retrieve one. The skill does not handle selecting a specific instance. - Post-condition: After successful execution, the item is in the agent's inventory and can be used in subsequent steps.
Example
Task: Retrieve an avocado seed from a jar for planting.
look around— observe: "a jar (containing an avocado seed)"pick up avocado seed- Expected observation: "You move the avocado seed to the inventory."