Class ExecutedToolCall
java.lang.Object
uno.anahata.ai.tools.ExecutedToolCall
Represents a tool call that has been successfully executed.
This class bundles all necessary information about a completed tool execution, including the original call part, the generated response, and the raw Java result.
- Author:
- anahata
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ObjectThe raw JavaObjectreturned by the tool method before it was converted to a JSON-compatible Map.final com.google.genai.types.FunctionResponseTheFunctionResponseobject that will be sent back to the model.final com.google.genai.types.PartThe originalPartfrom the model's message that contained theFunctionCall. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
sourceCallPart
public final com.google.genai.types.Part sourceCallPartThe originalPartfrom the model's message that contained theFunctionCall. -
response
public final com.google.genai.types.FunctionResponse responseTheFunctionResponseobject that will be sent back to the model. -
rawResult
The raw JavaObjectreturned by the tool method before it was converted to a JSON-compatible Map.
-
-
Constructor Details
-
ExecutedToolCall
public ExecutedToolCall()
-
