Class DashScopeFunction

java.lang.Object
io.agentscope.extensions.model.dashscope.dto.DashScopeFunction

public class DashScopeFunction extends Object
DashScope function call DTO.

This class represents the function details in a tool call.

Example:


 {
   "name": "get_weather",
   "arguments": "{\"location\": \"Beijing\"}"
 }
 
  • Constructor Details

    • DashScopeFunction

      public DashScopeFunction()
    • DashScopeFunction

      public DashScopeFunction(String name, String arguments)
  • Method Details