枚举类的使用
io.agentscope.core.message.ToolCallState
使用ToolCallState的程序包
-
io.agentscope.core.message中ToolCallState的使用
修饰符和类型方法说明ToolUseBlock.getState()Gets the tool call state.static ToolCallState返回带有指定名称的该类的枚举常量。static ToolCallState[]ToolCallState.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同参数类型为ToolCallState的io.agentscope.core.message中的方法修饰符和类型方法说明ToolUseBlock.Builder.state(ToolCallState state) Sets the tool call state.ToolUseBlock.withState(ToolCallState state) Returns a copy of this block with the given state.参数类型为ToolCallState的io.agentscope.core.message中的构造器