Pull (export) a translation file
pull_fileExport one locale's translations as a localization file in formats like JSON, XML, PO, or XLSX and return the file content as text for localization workflows.
Instructions
Export one locale's translations as a localization file and return its content as text. Free read. Formats: json_flat, json_nested, android_xml, ios_strings, ios_stringsdict, flutter_arb, laravel_php, laravel_json, xliff_12, ios_xcstrings, gettext_po, yaml, csv, xlsx, xliff_20, java_properties, resx, markdown, unity_csv, unreal_po. Optional min_state exports only values that are human_edited-or-better, or reviewed only. skipped_keys counts entries the chosen format cannot represent (e.g. plural keys in json_flat, simple keys in ios_stringsdict). On a project set to icu message syntax the server also withholds entries whose translation is not valid ICU MessageFormat, and reports how many in omitted_invalid_icu_keys, which is absent when the server did not check. Requires the "pull" ability.
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": {
"format": "<format>",
"locale": "<locale>"
},
"name": "pull_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | The file format id. | |
| locale | Yes | A locale configured on the project. | |
| min_state | No | Export only values at or above this workflow state; omit to export everything. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| filename | Yes | ||
| skipped_keys | Yes | ||
| omitted_invalid_icu_keys | No |