Class ToolCallRequestPart

java.lang.Object
io.agentscope.core.tracing.telemetry.model.ToolCallRequestPart
All Implemented Interfaces:
MessagePart

@JsonClassDescription("Tool call request part") public class ToolCallRequestPart extends Object implements MessagePart
Represents a tool call requested by the model.
  • Method Details

    • getType

      @JsonPropertyDescription("The type of the content captured in this part") public String getType()
      Description copied from interface: MessagePart
      Get the type of this message part.
      Specified by:
      getType in interface MessagePart
      Returns:
      the type string
    • getId

      @JsonPropertyDescription("Unique identifier for the tool call") public String getId()
    • getName

      @JsonPropertyDescription("Name of the tool") public String getName()
    • getArguments

      @JsonPropertyDescription("Arguments for the tool call") public Object getArguments()
    • create

      public static ToolCallRequestPart create(String name)
    • create

      public static ToolCallRequestPart create(String id, String name, Object arguments)