Class UnlockCondition.AfterTools
-
- All Implemented Interfaces:
-
com.embabel.agent.api.tool.agentic.playbook.UnlockCondition
public final class UnlockCondition.AfterTools implements UnlockCondition
Tool unlocks after specified prerequisite tools have been called.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<String>prerequisites
-
Constructor Summary
Constructors Constructor Description UnlockCondition.AfterTools(String prerequisites)UnlockCondition.AfterTools(List<String> prerequisites)
-
Method Summary
Modifier and Type Method Description final List<String>getPrerequisites()BooleanisSatisfied(PlaybookContext context)Evaluate whether this condition is met given the current context. -
-
Method Detail
-
getPrerequisites
final List<String> getPrerequisites()
-
isSatisfied
Boolean isSatisfied(PlaybookContext context)
Evaluate whether this condition is met given the current context.
-
-
-
-