PreToolCallEvent Class
- java.
lang. Object - com.
microsoft. semantickernel. hooks. PreToolCallEvent
- com.
Implements
public class PreToolCallEvent
implements KernelHookEvent
Represents a KernelHookEvent that is raised before a tool call is invoked.
Constructor Summary
| Constructor | Description |
|---|---|
| PreToolCallEvent(String functionName, KernelFunctionArguments arguments, KernelFunction<?> function, ContextVariableTypes contextVariableTypes) |
Creates a new instance of the PreToolCallEvent class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Kernel |
getArguments()
Gets the tool call arguments. |
|
Kernel |
getFunction()
Get the tool call function. |
Methods inherited from java.lang.Object
Constructor Details
PreToolCallEvent
public PreToolCallEvent(String functionName, KernelFunctionArguments arguments, KernelFunction function, ContextVariableTypes contextVariableTypes)
Creates a new instance of the PreToolCallEvent class.
Parameters:
Method Details
getArguments
public KernelFunctionArguments getArguments()
Gets the tool call arguments.
Returns:
getFunction
public KernelFunction getFunction()
Get the tool call function.
Returns: