create_polyglot
Combine two file formats into a single file that is valid in both. For example, prepend a PDF to a ZIP to create a valid PDF and ZIP simultaneously.
Instructions
Create polyglot files by prepending one file format before another. The resulting file is valid when interpreted as either format. For example, prepend a PDF before a ZIP to create a file that is both a valid PDF and a valid ZIP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file1_path | Yes | Path to the first file (will be at the start of the output) | |
| file2_path | Yes | Path to the second file (will be appended after the first) | |
| output_path | Yes | Path for the output polyglot file |