类 DashScopeToolFunction
java.lang.Object
io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction
DashScope tool function definition DTO.
This class represents the function schema for a tool.
Example:
{
"name": "get_weather",
"description": "Get the current weather in a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "The city name"
}
},
"required": ["location"]
}
}
-
嵌套类概要
嵌套类 -
构造器概要
构造器构造器说明 -
方法概要
修饰符和类型方法说明builder()getName()voidsetDescription(String description) voidvoidsetParameters(Map<String, Object> parameters)
-
构造器详细资料
-
DashScopeToolFunction
public DashScopeToolFunction() -
DashScopeToolFunction
-
-
方法详细资料
-
getName
-
setName
-
getDescription
-
setDescription
-
getParameters
-
setParameters
-
builder
-