Class PreToolCallEvent
- java.lang.Object
-
- com.microsoft.semantickernel.hooks.PreToolCallEvent
-
- All Implemented Interfaces:
KernelHookEvent
public class PreToolCallEvent extends Object implements KernelHookEvent
Represents a KernelHookEvent that is raised before a tool call is invoked.
-
-
Constructor Summary
Constructors Constructor Description PreToolCallEvent(String functionName, KernelFunctionArguments arguments, KernelFunction<?> function, ContextVariableTypes contextVariableTypes)Creates a new instance of thePreToolCallEventclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KernelFunctionArgumentsgetArguments()KernelFunction<?>getFunction()
-
-
-
Constructor Detail
-
PreToolCallEvent
public PreToolCallEvent(String functionName, @Nullable KernelFunctionArguments arguments, KernelFunction<?> function, ContextVariableTypes contextVariableTypes)
Creates a new instance of thePreToolCallEventclass.- Parameters:
functionName- the name of the functionarguments- the argumentsfunction- the functioncontextVariableTypes- the context variable types
-
-
Method Detail
-
getArguments
@Nullable public KernelFunctionArguments getArguments()
-
getFunction
public KernelFunction<?> getFunction()
-
-