Class DashScopeToolCall
java.lang.Object
io.agentscope.extensions.model.dashscope.dto.DashScopeToolCall
DashScope tool call DTO.
This class represents a tool call made by the assistant.
Example:
{
"id": "call_abc123",
"type": "function",
"function": {
"name": "get_weather",
"arguments": "{\"location\": \"Beijing\"}"
}
}
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DashScopeToolCall.Builderbuilder()getId()getIndex()getType()voidsetFunction(DashScopeFunction function) voidvoidvoid
-
Constructor Details
-
DashScopeToolCall
public DashScopeToolCall()
-
-
Method Details
-
getId
-
setId
-
getType
-
setType
-
getFunction
-
setFunction
-
getIndex
-
setIndex
-
builder
-