AS AgentScopeAPI 手册 / API Reference

AsBrowserWaiter

public class AsBrowserWaiter extends AgentScopeSandboxAwareTool<WaitForTool>
源码Source io/agentscope/runtime/engine/agents/agentscope/tools/browser/AsBrowserWaiter.java:26–45

As Browser Waiter,让智能体以受控方式调用外部能力。位于 io.agentscope.runtime.engine.agents.agentscope.tools.browser 包,继承自 AgentScopeSandboxAwareTool<WaitForTool>。核心成员包括 callAsync、AsBrowserWaiter。

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 AsBrowserWaiter()
初始化 `AsBrowserWaiter` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public Mono<ToolResultBlock> callAsync(Map<String, Object> input)
调用异步。
Calls the async.

构造器详情Constructor Detail

AsBrowserWaiter

public AsBrowserWaiter()

初始化 AsBrowserWaiter 实例。

Creates a new instance.

源码Source io/agentscope/runtime/engine/agents/agentscope/tools/browser/AsBrowserWaiter.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/AsBrowserWaiter.java:31–44
基于官方固定版本源码静态生成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.