FileUploadToolRequest
public record FileUploadToolRequest( @JsonProperty(required = true, value = "paths") @JsonPropertyDescription("The absolute paths to the files to upload") String[] paths )
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserFileUploader.java:61–69承载文件上传工具请求数据的记录类型。位于 io.agentscope.runtime.engine.agents.saa.tools.browser 包。核心成员包括 paths、FileUploadToolRequest。
A record in io.agentscope.runtime.engine.agents.saa.tools.browser that carries data used when components lets agents invoke external capabilities under control. Declared in io.agentscope.runtime.engine.agents.saa.tools.browser.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
paths | String[] | 执行 `paths` 方法。 Performs the paths operation. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public FileUploadToolRequest(String[] paths) | 初始化 `FileUploadToolRequest` 实例。 Creates a new instance. |
记录组件详情Record Component Detail
paths
String[] paths执行 paths 方法。
Performs the paths operation.
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserFileUploader.java:61–69构造器详情Constructor Detail
FileUploadToolRequest
public FileUploadToolRequest(String[] paths)
初始化 FileUploadToolRequest 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
paths | String[] | paths(类型 `String[]`)。The paths. |
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserFileUploader.java:66–68