콘텐츠로 이동

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";