fill_template
Fill a standard template. Default output on MCP: content[0] = the bilingual document text, content[1] = short summary; structuredContent = metadata (status, warnings, 1-hour DOCX/PDF download links with a random id; the fill data is kept encrypted on the server for 1 hour, never in the URL); request formats docx/pdf for base64. Optional auction_id (SUB-... or BOE-B-...) prefills empty fields from public BOE data (read only, nothing is submitted); it must match fields.auction_id / fields.boe_announcement_id if those are given (else error auction_id_conflict). Incomplete fills come back with status draft_incomplete and a DRAFT / DO NOT SIGN watermark. No case assessment, no legal advice; the notary drafts the final deed. Partner-only templates need the partner key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lot | No | Optional lot number for prefill. | |
| lang | No | Second language next to the base language: en (default), de, it, fr (as listed in the template). | |
| fields | No | Field values; principals is an array of {name, kind natural|legal, id_type, id_number, nationality (ISO alpha-2, natural persons), country (ISO alpha-2, country of incorporation) and registry (companies), address, share_percent, signatory, signatory_basis}. | |
| formats | No | MCP default [text, links]. docx/pdf add base64 files. REST default [text, docx, pdf, links]. | |
| auction_id | No | Optional SUB-... or BOE-B-... to prefill from public data. | |
| template_id | Yes | Template id from list_templates or quote_action, e.g. es_auction_poa_v2. |