FunctionShellActionParam interface
描述如何執行 shell 工具呼叫的指令與限制。
屬性
| commands | 命令執行環境執行 shell 指令。 |
| max_output_length | 最長的 stdout 與 stderr 輸出總和可擷取的最大長度,以字元為單位。 預設是1000。 |
| timeout_ms | shell 指令的最大執行時間以毫秒為單位。 預設為 10000(10 秒)。 |
屬性詳細資料
commands
命令執行環境執行 shell 指令。
commands: string[]
屬性值
string[]
max_output_length
最長的 stdout 與 stderr 輸出總和可擷取的最大長度,以字元為單位。 預設是1000。
max_output_length?: number
屬性值
number
timeout_ms
shell 指令的最大執行時間以毫秒為單位。 預設為 10000(10 秒)。
timeout_ms?: number
屬性值
number