toggle menu
Embabel Agent Documentation
JVM
switch theme
search in API
Embabel Agent Documentation
/
com.embabel.agent.api.common
/
PromptRunner
/
withToolGroups
with
Tool
Groups
open
fun
withToolGroups
(
toolGroups
:
Set
<
String
>
)
:
PromptRunner
open
fun
withToolGroups
(
vararg
toolGroups
:
String
)
:
PromptRunner
Add tool groups to the PromptRunner by name (varargs version).
Parameters
tool
Groups
the tool group names to add