AS AgentScopeAPI 手册 / API Reference

AsBrowserPdfSaver

public class AsBrowserPdfSaver extends AgentScopeSandboxAwareTool<PdfSaveTool>
源码Source io/agentscope/runtime/engine/agents/agentscope/tools/browser/AsBrowserPdfSaver.java:26–46

As 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
inputMap<String, Object>输入消息(类型 `Map`)。The input.
返回Returns Mono<ToolResultBlock>
返回Mono。Returns mono.
源码Source io/agentscope/runtime/engine/agents/agentscope/tools/browser/AsBrowserPdfSaver.java:31–45
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.