Class ToolInputRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.suncode.pwfl.ai.tool.ToolInputRequiredException
- All Implemented Interfaces:
Serializable
Thrown by
AiTool.execute(ToolContext, ToolPayload) when the tool needs input from the user. The AI engine pauses the run, shows
the request and calls the tool again with ToolContext.inputResponse() set.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionToolInputRequiredException(ToolInputRequest request, ToolPayload resumeState) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ToolInputRequiredException
-