Skip to main content
Use phaseo:apply_patch when a Responses workflow should return file changes as structured patch operations. Phaseo validates the operation and returns it to your client; it does not mutate your filesystem or repository.
phaseo:apply_patch is available on /v1/responses.

Request

Operation Shape

When the model calls the tool, it sends an operation object:
Supported operation types:

Tool Result

Phaseo returns the validated operation to the model loop:
Your application remains responsible for applying the patch, showing it to a user, rejecting it, or asking the model for a revised operation.

Usage And Pricing

Phaseo records:
Pricing cards can bill this with the server_tool_apply_patch_requests meter.
Last modified on July 26, 2026