Response
@JsonClassDescription("The result contains browser tool output and message") public record Response(String result, String message)
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserForwardNavigator.java:71–87承载响应数据的记录类型。位于 io.agentscope.runtime.engine.agents.saa.tools.browser 包。核心成员包括 result、message、Response。
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 |
|---|---|---|
result | String | 执行结果相关操作。 Performs the result operation. |
message | String | 执行消息相关操作。 Performs the message operation. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public Response(String result, String message) | 初始化 `Response` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String result() | 返回结果。 Returns the result. |
public String message() | 返回消息。 Returns the message. |
记录组件详情Record Component Detail
result
String result执行结果相关操作。
Performs the result operation.
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserForwardNavigator.java:71–87message
String message执行消息相关操作。
Performs the message operation.
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserForwardNavigator.java:71–87构造器详情Constructor Detail
Response
public Response(String result, String message)
初始化 Response 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
result | String | 结果(类型 `String`)。The result. |
message | String | 消息(类型 `String`)。The message. |
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserForwardNavigator.java:73–76方法详情Method Detail
result
public String result()
返回结果。
Returns the result.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserForwardNavigator.java:78–81message
public String message()
返回消息。
Returns the message.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/runtime/engine/agents/saa/tools/browser/BrowserForwardNavigator.java:83–86