AS AgentScopeAPI 手册 / API Reference

WaitForToolRequest

public record WaitForToolRequest( @JsonProperty("time") @JsonPropertyDescription("time in seconds") Double time, @JsonProperty("text") String text, @JsonProperty("textGone") String textGone )
源码Source io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserWaiter.java:61–77

承载 Wait 用于工具请求数据的记录类型。位于 io.agentscope.runtime.engine.agents.saa.tools.browser 包。核心成员包括 time、text、textGone、WaitForToolRequest。

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
timeDouble
执行时间相关操作。
Performs the time operation.
textString
执行文本相关操作。
Performs the text operation.
textGoneString
执行 `textGone` 方法。
Performs the text gone operation.

构造器摘要Constructor Summary

构造器Constructor说明Description
public WaitForToolRequest(Double time, String text, String textGone)
初始化 `WaitForToolRequest` 实例。
Creates a new instance.

记录组件详情Record Component Detail

time

Double time

执行时间相关操作。

Performs the time operation.

源码Source io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserWaiter.java:61–77

text

String text

执行文本相关操作。

Performs the text operation.

源码Source io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserWaiter.java:61–77

textGone

String textGone

执行 textGone 方法。

Performs the text gone operation.

源码Source io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserWaiter.java:61–77

构造器详情Constructor Detail

WaitForToolRequest

public WaitForToolRequest(Double time, String text, String textGone)

初始化 WaitForToolRequest 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
timeDouble时间(类型 `Double`)。The time.
textString文本(类型 `String`)。The text.
textGoneString文本 Gone(类型 `String`)。The text gone.
源码Source io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserWaiter.java:66–76
基于官方固定版本源码静态生成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.