TabCloseToolRequest
public record TabCloseToolRequest( @JsonProperty("index") @JsonPropertyDescription("The index of the tab to close") Integer index )
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserTabCloser.java:61–71承载 Tab 关闭工具请求数据的记录类型。位于 io.agentscope.runtime.engine.agents.saa.tools.browser 包。核心成员包括 index、TabCloseToolRequest。
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 |
|---|---|---|
index | Integer | 执行索引相关操作。 Performs the index operation. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public TabCloseToolRequest(Integer index) | 初始化 `TabCloseToolRequest` 实例。 Creates a new instance. |
记录组件详情Record Component Detail
index
Integer index执行索引相关操作。
Performs the index operation.
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserTabCloser.java:61–71构造器详情Constructor Detail
TabCloseToolRequest
public TabCloseToolRequest(Integer index)
初始化 TabCloseToolRequest 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | Integer | 索引(类型 `Integer`)。The index. |
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserTabCloser.java:66–70