ResizeToolRequest
public record ResizeToolRequest( @JsonProperty(required = true, value = "width") @JsonPropertyDescription("Width of the browser window") Double width, @JsonProperty(required = true, value = "height") @JsonPropertyDescription("Height of the browser window") Double height )
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserWindowResizer.java:61–73承载 Resize 工具请求数据的记录类型。位于 io.agentscope.runtime.engine.agents.saa.tools.browser 包。核心成员包括 width、height、ResizeToolRequest。
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 |
|---|---|---|
width | Double | 执行 `width` 方法。 Performs the width operation. |
height | Double | 执行 `height` 方法。 Performs the height operation. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public ResizeToolRequest(Double width, Double height) | 初始化 `ResizeToolRequest` 实例。 Creates a new instance. |
记录组件详情Record Component Detail
width
Double width执行 width 方法。
Performs the width operation.
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserWindowResizer.java:61–73height
Double height执行 height 方法。
Performs the height operation.
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserWindowResizer.java:61–73构造器详情Constructor Detail
ResizeToolRequest
public ResizeToolRequest(Double width, Double height)
初始化 ResizeToolRequest 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
width | Double | width(类型 `Double`)。The width. |
height | Double | height(类型 `Double`)。The height. |
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserWindowResizer.java:69–72