withToolObjects

open fun withToolObjects(toolObjects: List<Any>): PromptRunner


open fun withToolObjects(toolObject: Any, vararg toolObjects: Any): PromptRunner

Add multiple tool objects to the prompt runner. Uses required first parameter to avoid ambiguity.

Return

PromptRunner instance with the added tool objects

Parameters

toolObject

the first tool object to add (required)

toolObjects

additional tool objects to add