コンテンツにスキップ

ShellTool

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

type ShellTool = object;
name: string;

Public name exposed to the model. Defaults to shell.


needsApproval: ShellApprovalFunction;

Predicate determining whether this shell action requires approval.


optional onApproval: ShellOnApprovalFunction;

Optional handler to auto-approve or reject when approval is required. If provided, it will be invoked immediately when an approval is needed.


shell: Shell;

The shell implementation to execute commands.


type: "shell";