withTools

open fun withTools(vararg toolGroups: String): PromptRunner

Add a set of tool groups to the PromptRunner

Parameters

toolGroups

the set of named tool groups to add


open fun withTools(tools: List<Tool>): PromptRunner

Add multiple framework-agnostic Tools to the prompt runner.

Return

PromptRunner instance with the added tools

Parameters

tools

the tools to add