sap_translate
Translate SAP object texts via AI, preserving placeholders and length limits. Optionally write back to SAP or return for review.
Instructions
Composite tool: reads translatable texts from a SAP object, translates them using AI, and optionally writes them back. Workflow: 1) Read source texts 2) AI translate with SAP terminology 3) Return translations for review (or auto-deploy if auto_deploy=true). Preserves SAP placeholders (&1, &2, etc.) and respects max_length constraints. Supports: PROG, DTEL, DOMA, MSAG, TABL, FUNC, CLAS, CUAD, DYNP.
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": {
"object_type": "<object_type>",
"object_name": "<object_name>",
"target_language": "<target_language>"
},
"name": "sap_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto_deploy | No | If true, automatically write translations to SAP after AI translation. If false (default), return translations for review first. | |
| object_name | Yes | Name of the SAP object | |
| object_type | Yes | Type of SAP object | |
| source_language | No | SAP 1-char source language code (default: E=English) | E |
| target_language | Yes | SAP 1-char target language code (e.g., S=Spanish, D=German) |