uebersetze_dokument
Translate a Word document (docx) into another language while keeping its layout (tables, headers/footers, images, styles stay; only the text changes). Required: document_id (a docx from documents) OR storage_path (a docx path of this tenant in entity-docs, e.g. a report_path), sprache ('it'|'fr'|'en'|'de'). Optional: glossar [{quelle, ziel}] for fixed technical terms, bezug {typ, id} (e.g. {typ:'deal', id:'1000'}). The server splits the document into paragraphs and hands the job to the tenant's 'Übersetzungs-Agent' (Claude in the runner); poll get_uebersetzung(auftrag_id) — when status is 'fertig', ziel_document_id is the translated docx (title gets the language). Same document + language again returns the existing job. If you ARE the Übersetzungs-Agent, call get_uebersetzungsauftrag next and translate yourself.
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": {
"sprache": "<sprache>"
},
"name": "uebersetze_dokument"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bezug | No | Record the translation belongs to, e.g. {typ:'deal', id:'1000'} | |
| glossar | No | Fixed translations for technical terms | |
| sprache | Yes | Language code (e.g. de, en) | |
| document_id | No | ID of the document | |
| storage_path | No | Alternative to document_id: docx path of this tenant (entity-docs). |