PlanEnterTool
public static final class PlanEnterTool extends ToolBase
源码Source
io/agentscope/harness/agent/tool/PlanModeTools.java:66–102计划 Enter 工具,封装可被智能体调用的能力。位于 io.agentscope.harness.agent.tool 包,继承自 ToolBase。核心成员包括 callAsync、PlanEnterTool。
plan_enter: enter read-only plan mode.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public PlanEnterTool(PlanModeManager manager) | 初始化 `PlanEnterTool` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public Mono<ToolResultBlock> callAsync(ToolCallParam param) | 调用异步。 Calls the async. |
构造器详情Constructor Detail
PlanEnterTool
public PlanEnterTool(PlanModeManager manager)
初始化 PlanEnterTool 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
manager | PlanModeManager | 管理器(类型 `PlanModeManager`)。The manager. |
源码Source
io/agentscope/harness/agent/tool/PlanModeTools.java:69–84方法详情Method Detail
callAsync
public Mono<ToolResultBlock> callAsync(ToolCallParam param)
调用异步。
Calls the async.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
param | ToolCallParam | 参数(类型 `ToolCallParam`)。The param. |
Mono<ToolResultBlock>返回Mono。Returns mono.
源码Source
io/agentscope/harness/agent/tool/PlanModeTools.java:86–101