Build document from package
from_packageRebuild real document bytes from a DocumentPackage JSON, producing the requested target format.
Instructions
Rebuilds real document bytes in a target format from a DocumentPackage previously serialised to JSON (e.g. by a caller's own --dump-package-equivalent step) -- the read side of the DocumentPackage round trip a conversion's onDocument callback produces.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | Where to write the resulting document. Omit entirely (or omit outputPath within it) to receive the bytes inline instead. | |
| source | Yes | The DocumentPackage JSON to read. 'path' points at a JSON file on disk -- its extension is never used to infer a document format, since the file holds a DocumentPackage, not a document. 'bytesBase64' carries the JSON inline; its 'format' field is required by the shared hybrid input shape but unused by this tool. | |
| targetFormat | Yes | The document format to build from the DocumentPackage. |