Class ToolCallResponsePart

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

@JsonClassDescription("Tool call response part") public class ToolCallResponsePart extends Object implements MessagePart
Represents a tool call result sent to the model or a built-in tool call outcome and details.
  • 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 tool call identifier") public String getId()
    • getResponse

      @JsonPropertyDescription("Tool call response") public Object getResponse()
    • create

      public static ToolCallResponsePart create(Object response)
    • create

      public static ToolCallResponsePart create(String id, Object response)