枚举类的使用
io.agentscope.core.tool.ToolGroupScope
使用ToolGroupScope的程序包
-
io.agentscope.core.tool中ToolGroupScope的使用
修饰符和类型方法说明ToolGroup.getScope()Gets the scope of this tool group.static ToolGroupScope返回带有指定名称的该类的枚举常量。static ToolGroupScope[]ToolGroupScope.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同参数类型为ToolGroupScope的io.agentscope.core.tool中的方法修饰符和类型方法说明voidToolkit.createToolGroup(String groupName, String description, boolean active, ToolGroupScope scope) Create a new tool group with specified activation status and scope.ToolGroup.Builder.scope(ToolGroupScope scope) Sets the scope of the tool group.参数类型为ToolGroupScope的io.agentscope.core.tool中的构造器