Expand description
Apply patch handler (from Codex)
Implements the apply_patch tool using the Codex-style handler pattern. Supports both freeform and JSON function call formats.
Based on openai/codex tool handler patterns (Apache-2.0).
Copyright 2025 OpenAI. See the repository THIRD-PARTY-NOTICES file for
full attribution.
Structs§
- Apply
Patch Approval Key - Approval key for caching
- Apply
Patch Handler - Apply patch handler
- Apply
Patch Request - Request for apply_patch runtime
- Apply
Patch Runtime - Apply patch runtime for orchestrated execution
- Apply
Patch Tool Args - Arguments for apply_patch function call
Functions§
- create_
apply_ patch_ freeform_ tool - Create freeform apply_patch tool spec (for GPT-5 style models)
- create_
apply_ patch_ json_ tool - Create JSON function apply_patch tool spec (for standard function calling)