withToolObject

open override fun withToolObject(toolObject: ToolObject): PromptRunner

Add a tool object

Parameters

toolObject

the object to add.