withFunctionTools

open fun withFunctionTools(vararg tools: Tool): PromptRunner

Deprecated

Use withTools(tool, *tools) instead

Replace with

withTools(tools[0], *tools.drop(1).toTypedArray())

Add multiple framework-agnostic Tools to the prompt runner (varargs version).

Return

PromptRunner instance with the added tools

Parameters

tools

the tools to add