Translate batch
astroway_content_localization_translate_batchTranslate batches of up to 25 text strings into one target language and domain, simplifying content localization for AstroWay API workflows.
Instructions
Translate up to 25 strings (≤2000 chars each, ≤20000 total) sharing one target language + domain. Credits: 15 + ceil(total_chars/40).
[Group: Content Localization] [Endpoint: POST /v1/translate/batch] [Required: items, target_lang] [Cost: 16 credits (Tier 1)]
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": {
"items": "<items>",
"target_lang": "<target_lang>"
},
"name": "astroway_content_localization_translate_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| domain | No | ||
| source_lang | No | ||
| target_lang | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chars | No | ||
| count | No | ||
| items | No | ||
| domain | No | ||
| credits | No | ||
| source_lang | No | ||
| target_lang | No |