helvabase_produce_document
Produce one selected item under exact-plan human agreement. New DOCX uses selected client-draft sections. For an adaptive dossier, provide its exact adaptiveRevision; filling originals also requires adaptiveDocumentId and fieldId on every target. Values come from those individually approved fields; all applicable required/prepared fields must be mapped. Legacy forms use named draft sections. Source references and reviewer receipts remain in the immutable field provenance; numeric/boolean values are not polluted with citation text. Attachments remain byte-identical. All files remain human-review-required. Failed/unknown operations must be inspected before retry, never forced with a new key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | ||
| selection | Yes | ||
| pdfTargets | No | ||
| sectionIds | No | ||
| docxTargets | No | ||
| xlsxTargets | No | ||
| planRevision | Yes | ||
| draftRevision | Yes | ||
| confirmationId | Yes | ||
| idempotencyKey | Yes | Unique key for this logical mutation. Reuse exactly the same key and arguments after a timeout; never generate a new key to force a replay. | |
| expectedVersion | Yes | ||
| adaptiveRevision | No | ||
| consistencyFacts | No | ||
| adaptiveDocumentId | No |