Class UserInputMetadata

java.lang.Object
io.agentscope.core.studio.pojo.UserInputMetadata

public class UserInputMetadata extends Object
Metadata for user input messages from Studio.

This class provides type-safe metadata for messages received from AgentScope Studio, including the source, request ID, and optional structured input data.

  • Method Details

    • getSource

      public String getSource()
      Gets the source of the user input.
      Returns:
      the source identifier (typically "studio")
    • getRequestId

      public String getRequestId()
      Gets the request ID that this input is responding to.
      Returns:
      the request ID, or null if this is not a response to a specific request
    • getStructuredInput

      public Map<String,Object> getStructuredInput()
      Gets the structured input data if provided.
      Returns:
      map of structured input fields, or null if not provided
    • builder

      public static UserInputMetadata.Builder builder()