Class ToolInputRequiredException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.suncode.pwfl.ai.tool.ToolInputRequiredException
All Implemented Interfaces:
Serializable

@Api public class ToolInputRequiredException extends RuntimeException
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 Details