Class JavaCodeExecutionTool
-
- All Implemented Interfaces:
-
io.github.llmagentbuilder.core.tool.AgentTool,io.github.llmagentbuilder.core.tool.ConfigurableAgentTool,java.util.function.Function
public final class JavaCodeExecutionTool implements ConfigurableAgentTool<JavaCodeExecutionRequest, JavaCodeExecutionResponse, JavaCodeExecutionConfig>
Tool to execute Java code
-
-
Constructor Summary
Constructors Constructor Description JavaCodeExecutionTool(JavaCodeExecutionConfig config)
-
Method Summary
Modifier and Type Method Description JavaCodeExecutionResponseapply(JavaCodeExecutionRequest request)Stringdescription()Stringname()Stringid()-
-
Constructor Detail
-
JavaCodeExecutionTool
JavaCodeExecutionTool(JavaCodeExecutionConfig config)
-
-
Method Detail
-
apply
JavaCodeExecutionResponse apply(JavaCodeExecutionRequest request)
-
description
String description()
-
-
-
-