RunPythonToolResponse
public record RunPythonToolResponse(@JsonProperty("Response") Response output)
源码Source
io/agentscope/runtime/engine/agents/saa/tools/base/BasePythonRunner.java:71–75承载运行 Python 工具响应数据的记录类型。位于 io.agentscope.runtime.engine.agents.saa.tools.base 包。核心成员包括 output、RunPythonToolResponse。
A record in io.agentscope.runtime.engine.agents.saa.tools.base that carries data used when components lets agents invoke external capabilities under control. Declared in io.agentscope.runtime.engine.agents.saa.tools.base.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
output | Response | 执行输出相关操作。 Performs the output operation. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public RunPythonToolResponse(Response output) | 初始化 `RunPythonToolResponse` 实例。 Creates a new instance. |
记录组件详情Record Component Detail
output
Response output执行输出相关操作。
Performs the output operation.
源码Source
io/agentscope/runtime/engine/agents/saa/tools/base/BasePythonRunner.java:71–75构造器详情Constructor Detail
RunPythonToolResponse
public RunPythonToolResponse(Response output)
初始化 RunPythonToolResponse 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
output | Response | 输出(类型 `Response`)。The output. |
源码Source
io/agentscope/runtime/engine/agents/saa/tools/base/BasePythonRunner.java:72–74