Skip to content

ApplyPatchToolCall

This docs was updated at: 2026-02-23

com.paragon.responses.spec.ApplyPatchToolCall  ·  Class

Extends ToolCall  ·  Implements Item, ResponseOutput


A tool call representing a request to create, delete, or update files using diff patches.

Methods

ApplyPatchToolCall

public ApplyPatchToolCall(
      String id,
      @NonNull String callId,
      @NonNull ApplyPatchOperation operation,
      @NonNull String status)

@param id The unique ID of the apply patch tool call. Populated when this item is returned via API.

Parameters

Name Description
callId The unique ID of the apply patch tool call generated by the model.
operation The specific ApplyPatchCreateFileOperation, ApplyPatchDeleteFileOperation, or instruction for the apply_patch tool call.
status The status of the apply patch tool call. One of in_progress or completed.