executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
alfworld-search-pattern-executorSystematically searches a sequence of likely locations for a target object based on common sense. Use when you need to find a specific object and know which receptacles to check but not which one contains it. Takes a list of candidate receptacles, orchestrates navigation and inspection, and outputs when the target is found or all locations are exhausted.
Independent GitHub snapshot · Automated classification · Original documentation governs
For each candidate receptacle in order, execute this action sequence:
go to {receptacle}open {receptacle}take {target_object} from {receptacle} and stop searchingclose {receptacle}, then continue to the next candidatego to {receptacle} -- navigate to a locationopen {receptacle} -- open a closed drawer/cabinet/fridgeclose {receptacle} -- close after checking (state management)take {object} from {receptacle} -- pick up the target when foundGoal: "find two remotecontrol and put them in armchair."
Thought: I need to find remotecontrol. Candidates: sofa 1, sidetable 1, coffeetable 1. Starting search.
Action: go to sofa 1
Observation: On the sofa 1, you see a pillow 1.
Thought: No remotecontrol on sofa 1. Checking next candidate.
Action: go to sidetable 1
Observation: On the sidetable 1, you see a keychain 1.
Thought: Not here either. Checking coffeetable.
Action: go to coffeetable 1
Observation: On the coffeetable 1, you see a remotecontrol 1, a remotecontrol 2.
Action: take remotecontrol 1 from coffeetable 1
Observation: You pick up the remotecontrol 1 from the coffeetable 1.
Result: First remotecontrol found and picked up. Proceed to place it in armchair 1, then re-activate search for the second one.