AS AgentScopeAPI 手册 / API Reference

HoverToolRequest

public record HoverToolRequest( @JsonProperty(required = true, value = "element") @JsonPropertyDescription("Human-readable element description") String element, @JsonProperty(required = true, value = "ref") @JsonPropertyDescription("Exact target element reference from the page snapshot") String ref )
源码Source io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserHoverer.java:61–73

承载 Hover 工具请求数据的记录类型。位于 io.agentscope.runtime.engine.agents.saa.tools.browser 包。核心成员包括 element、ref、HoverToolRequest。

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
elementString
执行 `element` 方法。
Performs the element operation.
refString
执行引用相关操作。
Performs the ref operation.

构造器摘要Constructor Summary

构造器Constructor说明Description
public HoverToolRequest(String element, String ref)
初始化 `HoverToolRequest` 实例。
Creates a new instance.

记录组件详情Record Component Detail

element

String element

执行 element 方法。

Performs the element operation.

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

ref

String ref

执行引用相关操作。

Performs the ref operation.

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

构造器详情Constructor Detail

HoverToolRequest

public HoverToolRequest(String element, String ref)

初始化 HoverToolRequest 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
elementStringelement(类型 `String`)。The element.
refString引用(类型 `String`)。The ref.
源码Source io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserHoverer.java:69–72
基于官方固定版本源码静态生成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.