set_uebersetzung
For the Übersetzungs-Agent: deliver translations for a job as uebersetzungen [{id, text}] (ids from get_uebersetzungsauftrag; any number per call, several calls are fine). When every paragraph has a translation (or fertig=true is passed), the server writes the translated Word file in the original layout, stores it as a document next to the source and sets status 'fertig'. Returns how many are still missing.
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": {
"auftrag_id": "<auftrag_id>",
"uebersetzungen": "<uebersetzungen>"
},
"name": "set_uebersetzung"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fertig | No | Write the file now even if some paragraphs are missing (they stay in the original language). | |
| auftrag_id | Yes | ID of the job | |
| uebersetzungen | Yes | Translated paragraphs of the job as [{id, text}] |