RunShellCommandToolRequest
public record RunShellCommandToolRequest( @JsonProperty(required = true, value = "command") @JsonPropertyDescription("Shell command to be executed") String command )
源码Source
io/agentscope/runtime/engine/agents/saa/tools/base/BaseShellRunner.java:61–69承载运行 Shell 命令工具请求数据的记录类型。位于 io.agentscope.runtime.engine.agents.saa.tools.base 包。核心成员包括 command、RunShellCommandToolRequest。
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 |
|---|---|---|
command | String | 执行命令相关操作。 Performs the command operation. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public RunShellCommandToolRequest(String command) | 初始化 `RunShellCommandToolRequest` 实例。 Creates a new instance. |
记录组件详情Record Component Detail
command
String command执行命令相关操作。
Performs the command operation.
源码Source
io/agentscope/runtime/engine/agents/saa/tools/base/BaseShellRunner.java:61–69构造器详情Constructor Detail
RunShellCommandToolRequest
public RunShellCommandToolRequest(String command)
初始化 RunShellCommandToolRequest 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
command | String | 命令(类型 `String`)。The command. |
源码Source
io/agentscope/runtime/engine/agents/saa/tools/base/BaseShellRunner.java:66–68