struct AI::OpenAI::Tools::ApplyPatch

Overview

Apply Patch tool.

Lets GPT-5.1 create, update, and delete files using structured diffs.

Defined in:

ai/openai/tool/openai_tools.cr

Constant Summary

ID = "openai.apply_patch"
NAME = "apply_patch"

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def args : Hash(String, JSON::Any) #

[View source]
def id : String #

[View source]
def name : String #

[View source]
def type : String #

[View source]