コンテンツにスキップ

ApplyPatchTool

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

type ApplyPatchTool = object;
editor: Editor;

Diff applier invoked when the tool is called.


name: string;

Public name exposed to the model. Defaults to apply_patch.


needsApproval: ApplyPatchApprovalFunction;

Predicate determining whether this apply_patch operation requires approval.


optional onApproval: ApplyPatchOnApprovalFunction;

Optional handler to auto-approve or reject when approval is required.


type: "apply_patch";