Trendora

apply_patch

Assess

Techniques

A patch-based method for applying code edits by describing changes as diffs.

Why it's here

Placed in Assess: 2 article(s) of evidence from 2 source(s), led by research-stage coverage, with 1 in the last 30 days. Confidence 42%.

Evidence (2)

  • 2Hacker News·8/31/2026framework_update
    ChatGPT Work Tool and Skill Reference

    The item describes the built-in `apply_patch` tool and notes that it can be used to edit files. It also clarifies that the tool uses a freeform input format rather than JSON, with a TypeScript-style tool declaration shown in the text.

  • 5Simon Willison·7/4/2026research
    Newer Anthropic models perform worse with some edit tools

    Armin Ronacher reports that newer Claude models such as Opus 4.8 and Sonnet 5 sometimes generate malformed arguments for Pi’s edit tool, causing tool calls to be rejected. The issue appears in newer Anthropic models but not older ones, suggesting model-specific training for Claude Code’s edit workflow may reduce compatibility with third-party coding harnesses.