Render plan document
render_plan_documentTypeset one Markdown source as a PDF on the tenant's letterhead and file it at the tender. Same typesetter as export_dossier, so a plan document and a Mappe look alike. The answer carries the provenance — source checksum, letterhead checksum, document date — and says what changed since the last run: changed false means the same text and the same profile, so the layout is identical; changed null means there was no rendered PDF with provenance to compare against, which is unknown and not unchanged. Re-rendering REPLACES the file at the tender rather than adding a second one: two versions of the same Fachkonzept in a submission folder look alike and someone packs the wrong one. dry_run typesets without touching the tender.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "render_plan_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| dry_run | No | Typeset and report, change nothing at the tender. | |
| variant | No | ||
| doc_kind | No | ||
| draft_id | No | The stored source. Either this or tender_id + markdown. | |
| markdown | No | ||
| tender_id | No | Only with markdown: typeset an ad-hoc text without storing a source. Needs dry_run. | |
| document_date | No | JJJJ-MM-TT. Overrides the stored document date. | |
| with_diagrams | No | Render mermaid blocks through Browserless. Costs one call. Without it they appear as source text and the answer says so. | |
| letterhead_profile_key | No | Overrides the profile stored at the source. The same call in another tenant uses that tenant's profile — no code change. |