Replanning Tool
constructor(delegate: Tool, reason: String, blackboardUpdater: ReplanningToolBlackboardUpdater = ReplanningToolBlackboardUpdater { bb, content -> bb.addObject(content) })
Parameters
delegate
The tool to wrap
reason
Human-readable explanation of why replan is needed
blackboard Updater
Callback to update the blackboard before replanning. Receives the result content and can add objects to the blackboard. Defaults to adding the result content as a string.