-
public final class ConversationEvent.ClientToolCall extends ConversationEvent
Event representing a tool call from the agent
-
-
Field Summary
Fields Modifier and Type Field Description private final StringtoolNameprivate final Map<String, Object>parametersprivate final StringtoolCallIdprivate final BooleanexpectsResponse
-
Method Summary
Modifier and Type Method Description final StringgetToolName()final Map<String, Object>getParameters()final StringgetToolCallId()final BooleangetExpectsResponse()-
-
Constructor Detail
-
ConversationEvent.ClientToolCall
ConversationEvent.ClientToolCall(String toolName, Map<String, Object> parameters, String toolCallId, Boolean expectsResponse)
- Parameters:
toolName- Name of the tool to executeparameters- Parameters to pass to the tooltoolCallId- Unique identifier for this tool callexpectsResponse- Whether the agent expects a response
-
-
Method Detail
-
getToolName
final String getToolName()
-
getParameters
final Map<String, Object> getParameters()
-
getToolCallId
final String getToolCallId()
-
getExpectsResponse
final Boolean getExpectsResponse()
-
-
-
-