ShellTool
이 콘텐츠는 아직 번역되지 않았습니다.
type ShellTool = object;Properties
Section titled “Properties”name: string;Public name exposed to the model. Defaults to shell.
needsApproval
Section titled “needsApproval”needsApproval: ShellApprovalFunction;Predicate determining whether this shell action requires approval.
onApproval?
Section titled “onApproval?”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";