ToolGroupScope
public enum ToolGroupScope
源码Source
io/agentscope/core/tool/ToolGroupScope.java:29–42定义工具组范围相关取值的枚举。位于 io.agentscope.core.tool 包。核心成员包括 META、EXTERNAL。
Defines who manages a ToolGroup's activation lifecycle.
-
#META— managed by the agent via thereset_equipped_toolsmeta tool. These groups appear in the meta tool's parameter enum and follow replacement semantics: only groups explicitly listed in theto_activateparameter remain active. -
#EXTERNAL— managed by developer code (e.g., programmatic activation/deactivation). These groups are invisible to the meta tool and unaffected by its calls.
枚举常量摘要Enum Constant Summary
| 常量Constant | 说明Description |
|---|---|
META | 组是托管通过元数据工具(`reset_equipped_tools`)。 The group is managed by the meta tool (`reset_equipped_tools`). |
EXTERNAL | 执行外部相关操作。 The group is managed externally by developer code. |
枚举常量详情Enum Constant Detail
META
META
staticfinal
组是托管通过元数据工具(reset_equipped_tools)。
The group is managed by the meta tool (reset_equipped_tools).
源码Source
io/agentscope/core/tool/ToolGroupScope.java:35EXTERNAL
EXTERNAL
staticfinal
执行外部相关操作。
The group is managed externally by developer code.
源码Source
io/agentscope/core/tool/ToolGroupScope.java:41