Localize chosen listing
optimizer_localizeCreates per-locale listing drafts by translating core phrases and measuring local phrasings in each locale's test market, then writes a localized description from the winners. Locales run as a background job.
Instructions
Write per-locale drafts of the chosen listing: the core phrases are translated, candidate local phrasings are measured in each locale's test market, and the best are used. Each language not in the main language also gets its own full description, translated from the description that will be published (the Copy draft when it is set to publish, else the live one) around its local phrases (skipped with a note when it fails); variants of the main language (en-GB for en-US) take a new main description as written. Fields edited with optimizer_edit_locale are kept unless redoEdited is true. A locale that fails does not stop the others; get_optimizer lists failedLocales and lastError. Background job.
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": {
"projectId": "<projectId>"
},
"name": "optimizer_localize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Without locales: the tracked markets' locales (markets, default) or every listing locale of the store in fast mode (all: batched AI candidates, parallel, measured in each locale's test market only). | |
| locales | No | Only these locales (default: see scope). | |
| projectId | Yes | Project id (from get_overview). | |
| remaining | No | Only locales without a draft yet or that failed last time (finish an interrupted run). | |
| directions | No | Optional creative direction for the AI, e.g. "emphasise offline use". | |
| redoEdited | No | Rewrite fields the owner edited too (default: they are kept). |