legal_put_generator
Toggle document modules and options, regenerate the chosen legal document, and return the updated generator state.
Instructions
Tick or untick modules and options, then regenerate the document (the Datenschutz tab over the API). Merges into the stored selection; unknown module or option keys are refused (400). Needs the library imported (409), and for datenschutz the required Impressum facts filled (409). Returns the new state as legal_get_generator does. Sections tied to a switch (Einwilligungsnachweis, Barrierefreiheits-Werkzeug) follow that switch and are not ticked here. Requires cvrt-legal 0.7.0+.
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": {
"site": "<site>",
"doc": "<doc>"
},
"name": "legal_put_generator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Generated document: impressum, datenschutz or barrierefreiheit (BFSG statement, cvrt-legal 0.9.0+) | |
| keep | No | Slugs of sections added through the API that survive regeneration. REPLACES the stored list; omit to keep it | |
| site | Yes | Site id (see list_sites) | |
| enabled | No | module (section) key => on/off; merged into the stored selection | |
| options | No | module key => { option key => on/off }; merged into the stored selection |