Class JavaMethodToolCall

All Implemented Interfaces:
PropertyChangeSource, ThoughtSignature, Rebindable

public class JavaMethodToolCall extends AbstractToolCall<JavaMethodTool, JavaMethodToolResponse>
A model-agnostic representation of a request to execute a specific Java method tool.
Author:
anahata-gemini-pro-2.5
  • Constructor Details

    • JavaMethodToolCall

      public JavaMethodToolCall(AbstractModelMessage modelMessage, String id, @NonNull @NonNull JavaMethodTool tool, @NonNull @NonNull Map<String,Object> rawArgs, @NonNull @NonNull Map<String,Object> args)
      Constructs a new JavaMethodToolCall instance.
      Parameters:
      modelMessage - The model message initiating this call.
      id - The unique identifier of this call.
      tool - The target JavaMethodTool instance.
      rawArgs - The raw, untyped JSON arguments passed by the model.
      args - The converted, type-safe Java arguments.
  • Method Details