Rename key or move namespace
i18n_rename_keyRename or move an i18n key or namespace across locale files, previewing by default and refusing if the target exists.
Instructions
Rename a key across locales, or move a whole namespace when from ends with '.' (e.g. 'nav.' -> 'menu.'). Refuses when a target exists. Previews by default; pass dryRun:false to apply.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "i18n_rename_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | Key, or namespace prefix ending with '.'. | |
| dryRun | No | Default true (preview). false applies. | |
| locales | No | Locale tags to include, e.g. ['en','tr']. Default: all. | |
| workspaceDir | No | Sub-directory of the workspace root to operate on. Usually omitted. |