ApplyPatchTool
このコンテンツはまだ日本語訳がありません。
type ApplyPatchTool = object;Properties
Section titled “Properties”editor
Section titled “editor”editor: Editor;Diff applier invoked when the tool is called.
name: string;Public name exposed to the model. Defaults to apply_patch.
needsApproval
Section titled “needsApproval”needsApproval: ApplyPatchApprovalFunction;Predicate determining whether this apply_patch operation requires approval.
onApproval?
Section titled “onApproval?”optional onApproval: ApplyPatchOnApprovalFunction;Optional handler to auto-approve or reject when approval is required.
type: "apply_patch";