Package io.agentscope.harness.agent.tool
Class ProposeSkillTool
java.lang.Object
io.agentscope.harness.agent.tool.ProposeSkillTool
- All Implemented Interfaces:
io.agentscope.core.tool.AgentTool
Convenience tool that lets the agent propose a brand-new skill in one call: name +
description + body + optional scripts. Internally translates to
SkillManageTool.create + skill_manage write_file* so the standard staging /
validation / scanning pipeline applies.
Compared to skill_manage(action="create") this tool: takes the body and frontmatter
separately (no need for the agent to hand-write YAML), and accepts a list of scripts to
upload in the same call. Useful when the agent has just discovered a reusable approach and
wants to commit it without authoring the full SKILL.md text.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.agentscope.core.tool.AgentTool
getOutputSchema, getStrict, isReadOnly, isReturnDirect
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ProposeSkillTool
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceio.agentscope.core.tool.AgentTool
-
getDescription
- Specified by:
getDescriptionin interfaceio.agentscope.core.tool.AgentTool
-
getParameters
- Specified by:
getParametersin interfaceio.agentscope.core.tool.AgentTool
-
callAsync
public reactor.core.publisher.Mono<io.agentscope.core.message.ToolResultBlock> callAsync(io.agentscope.core.tool.ToolCallParam param) - Specified by:
callAsyncin interfaceio.agentscope.core.tool.AgentTool
-