Angebot erstellen
finalize_offerTurn a previewed offer draft into the numbered Angebot, Kostenvoranschlag or Auftragsbestätigung. Only call it after the user has seen the preview and explicitly said yes. review_hash comes from the last preview_offer result; a stale hash is refused. Fails with the missing fields when something mandatory is missing. Calling it again for the same draft returns the document already created.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"draft_id": "<draft_id>",
"review_hash": "<review_hash>"
},
"name": "finalize_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| review_hash | Yes | review_hash of the preview the user confirmed |