ApplyPatchCreateFileOperationParam interface
Instruction for creating a new file via the apply_patch tool.
- Extends
Properties
| diff | Unified diff content to apply when creating the file. |
| path | Path of the file to create relative to the workspace root. |
| type | The operation type. Always |
Property Details
diff
Unified diff content to apply when creating the file.
diff: string
Property Value
string
path
Path of the file to create relative to the workspace root.
path: string
Property Value
string
type
The operation type. Always create_file.
type: "create_file"
Property Value
"create_file"