Files
openrouter-python-sdk-retry…/docs/components/applypatchcreatefileoperation.mdx

14 lines
2.2 KiB
Plaintext

---
title: "ApplyPatchCreateFileOperation"
---
The `create_file` variant of an `apply_patch_call.operation`. Carries a V4A diff describing the new file contents.
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| `diff` | *str* | :heavy_check_mark: | N/A |
| `path` | *str* | :heavy_check_mark: | N/A |
| `type` | [components.ApplyPatchCreateFileOperationType](../components/applypatchcreatefileoperationtype.mdx) | :heavy_check_mark: | N/A |