コンテンツにスキップ

Shell

このコンテンツはまだ日本語訳がありません。

Executes shell commands on behalf of the agent.

run(action): Promise<ShellResult>;

Runs the given action and returns the resulting output.

Parameter Type

action

{ commands: string[]; maxOutputLength?: number; timeoutMs?: number; }

action.commands

string[]

action.maxOutputLength?

number

action.timeoutMs?

number

Promise<ShellResult>