withUnfolding

Convert this reference to a reference exposing a single unfolding tool. Does not rewrap an unfolding reference. Thus repeated calls to this method are safe.


open fun withUnfolding(childToolUsageNotes: String?): LlmReference

Convert this reference to a reference exposing a single unfolding tool, with progressively-disclosed detail attached.

Parameters

childToolUsageNotes

Detail (workflow, body, routing guidance) that will be appended to the unfolded message when the LLM invokes the wrapper. See com.embabel.agent.api.tool.progressive.UnfoldingTool.childToolUsageNotes.