Class StudioWebSocketClient.UserInputData

java.lang.Object
io.agentscope.core.studio.StudioWebSocketClient.UserInputData
Enclosing class:
StudioWebSocketClient

public static class StudioWebSocketClient.UserInputData extends Object
Data structure representing user input from Studio.

This contains both content blocks (text, images, etc.) and optional structured data validated against a schema.

  • Constructor Details

    • UserInputData

      public UserInputData(List<io.agentscope.core.message.ContentBlock> blocksInput, Map<String,Object> structuredInput)
      Creates user input data.
      Parameters:
      blocksInput - List of content blocks provided by the user
      structuredInput - Optional structured data (e.g., form fields)
  • Method Details

    • getBlocksInput

      public List<io.agentscope.core.message.ContentBlock> getBlocksInput()
      Gets the content blocks provided by the user.
      Returns:
      List of content blocks
    • getStructuredInput

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