AsBrowserPdfSaver
public class AsBrowserPdfSaver extends AgentScopeSandboxAwareTool<PdfSaveTool>
源码Source
io/agentscope/runtime/engine/agents/agentscope/tools/browser/AsBrowserPdfSaver.java:26–46As Browser Pdf Saver,让智能体以受控方式调用外部能力。位于 io.agentscope.runtime.engine.agents.agentscope.tools.browser 包,继承自 AgentScopeSandboxAwareTool<PdfSaveTool>。核心成员包括 callAsync、AsBrowserPdfSaver。
A class in io.agentscope.runtime.engine.agents.agentscope.tools.browser that lets agents invoke external capabilities under control. Declared in io.agentscope.runtime.engine.agents.agentscope.tools.browser. Extends AgentScopeSandboxAwareTool
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public AsBrowserPdfSaver() | 初始化 `AsBrowserPdfSaver` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public Mono<ToolResultBlock> callAsync(Map<String, Object> input) | 调用异步。 Calls the async. |
构造器详情Constructor Detail
AsBrowserPdfSaver
public AsBrowserPdfSaver()
初始化 AsBrowserPdfSaver 实例。
Creates a new instance.
源码Source
io/agentscope/runtime/engine/agents/agentscope/tools/browser/AsBrowserPdfSaver.java:27–29方法详情Method Detail
callAsync
public Mono<ToolResultBlock> callAsync(Map<String, Object> input)
调用异步。
Calls the async.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | Map<String, Object> | 输入消息(类型 `Map`)。The input. |
Mono<ToolResultBlock>返回Mono。Returns mono.
源码Source
io/agentscope/runtime/engine/agents/agentscope/tools/browser/AsBrowserPdfSaver.java:31–45