981 B
981 B
name, description
| name | description |
|---|---|
| copy-quote-info-to-payload | Populate a quote-command skeleton from quote data without fabricating values. Use when a quote JSON and command skeleton are supplied and the user asks to create a populated command. |
copy-quote-info-to-payload
Inputs
One source quote JSON and one target command skeleton.
Workflow
- Identify source and target; ask when the roles are ambiguous.
- Parse both documents and start from the target structure.
- Apply the mappings in
reference.md; preserve unmatched target fields and item order. - Validate that the resulting document is valid JSON.
- Return the payload and a short mapping summary.
Rules
- Every populated value must come from the source or an explicit user instruction.
- Never silently choose between duplicate IDs or conflicting values.
- Do not alter item content unless the user requests it.
Output
Return one valid JSON document, then unresolved placeholders and mapping warnings.