ApplyPatchCallItem
type ApplyPatchCallItem = object;Type Declaration
Section titled “Type Declaration”callId
Section titled “callId”callId: string;optional id: string;An ID to identify the item. This is optional by default. If a model provider absolutely requires this field, it will be validated on the model level.
operation
Section titled “operation”operation: | { diff: string; path: string; type: "create_file";} | { diff: string; path: string; type: "update_file";} | { path: string; type: "delete_file";} = ApplyPatchOperation;providerData?
Section titled “providerData?”optional providerData: Record<string, any>;Additional optional provider specific data. Used for custom functionality or model provider specific fields.
status
Section titled “status”status: "in_progress" | "completed";type: "apply_patch_call";