delegate_patch
Generate a minimal unified diff from an external AI model. Provide the exact change request and context; the tool returns a proposed patch for review and application.
Instructions
Ask an external model to propose a minimal unified diff.
This tool does not apply changes. Claude must inspect, validate, apply, format, test, and review any proposed patch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Exact change requested, constraints, and acceptance criteria. | |
| context | Yes | Files, excerpts, interfaces, and tests required to propose the patch. | |
| provider | Yes | ||
| reasoning_effort | No | ||
| max_output_tokens | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| model | Yes | ||
| status | Yes | ||
| content | No | ||
| provider | Yes | ||
| redactions | No | ||
| content_source | No | content | |
| elapsed_seconds | Yes | ||
| truncated_context | No | ||
| truncated_response | No |