MoveFileToolRequest
public record MoveFileToolRequest( @JsonProperty(required = true, value = "source") @JsonPropertyDescription("Source path to move from") String source, @JsonProperty(required = true, value = "destination") @JsonPropertyDescription("Destination path to move to") String destination )
源码Source
io/agentscope/runtime/engine/agents/saa/tools/fs/FsFileMover.java:61–73承载 Move 文件工具请求数据的记录类型。位于 io.agentscope.runtime.engine.agents.saa.tools.fs 包。核心成员包括 source、destination、MoveFileToolRequest。
A record in io.agentscope.runtime.engine.agents.saa.tools.fs that carries data used when components lets agents invoke external capabilities under control. Declared in io.agentscope.runtime.engine.agents.saa.tools.fs.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
source | String | 执行来源相关操作。 Performs the source operation. |
destination | String | 执行目标地址相关操作。 Performs the destination operation. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public MoveFileToolRequest(String source, String destination) | 初始化 `MoveFileToolRequest` 实例。 Creates a new instance. |
记录组件详情Record Component Detail
source
String source执行来源相关操作。
Performs the source operation.
源码Source
io/agentscope/runtime/engine/agents/saa/tools/fs/FsFileMover.java:61–73destination
String destination执行目标地址相关操作。
Performs the destination operation.
源码Source
io/agentscope/runtime/engine/agents/saa/tools/fs/FsFileMover.java:61–73构造器详情Constructor Detail
MoveFileToolRequest
public MoveFileToolRequest(String source, String destination)
初始化 MoveFileToolRequest 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
source | String | 来源(类型 `String`)。The source. |
destination | String | 目标地址(类型 `String`)。The destination. |
源码Source
io/agentscope/runtime/engine/agents/saa/tools/fs/FsFileMover.java:69–72