agentscope-java
agentscope-java copied to clipboard
[Feature]: Plan Mode增加自定义工具白名单
Issue
Skills cannot be loaded in Plan Mode. The model typically exits Plan Mode first before loading a skill.
Root Cause
Plan Mode permits the execution of read-only tools. However, the load_skill_through_path tool does not inherit from the ToolBase abstract class, and therefore lacks the readOnly attribute.
Expected Solution
- Allow adding a custom tool whitelist in Plan Mode.
- Add the
readOnlyattribute toload_skill_through_path.