create_corrupted_file_tool
Create corrupted file copies for testing error handling without modifying originals. Use random bytes, truncation, or wrong extensions to simulate corrupt files.
Instructions
Create a corrupted copy of a file for testing error handling. Never modifies the original.
Examples: corrupted JPEG, PDF truncated at 70%, ZIP with random bytes, PNG with wrong extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| filename | No | ||
| severity | No | ||
| file_type | No | generic | |
| overwrite | No | ||
| corruption | No | random_bytes | |
| source_path | No | ||
| output_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |