类 OpenAIToolCall
java.lang.Object
io.agentscope.core.formatter.openai.dto.OpenAIToolCall
OpenAI 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\"}"
}
}
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static OpenAIToolCall.Builderbuilder()getId()getIndex()getType()voidsetFunction(OpenAIFunction function) voidvoidvoidsetThoughtSignature(String thoughtSignature) void
-
构造器详细资料
-
OpenAIToolCall
public OpenAIToolCall()
-
-
方法详细资料
-
getId
-
setId
-
getType
-
setType
-
getFunction
-
setFunction
-
getIndex
-
setIndex
-
getThoughtSignature
-
setThoughtSignature
-
builder
-