保存 i18n 替换配置
save_profileCreate or update a reusable replacement profile for i18n key substitution, allowing preview_replace and replace_file to apply the same configuration by profile name.
Instructions
在 i18n 平台上创建或更新一个替换配置(config profile),供 replace_file/preview_replace 通过 profileName 复用。需配置环境变量 I18N_API_KEY。
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": {
"name": "<name>",
"configJson": "<configJson>"
},
"name": "save_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 配置名称 | |
| configJson | Yes | 替换配置 JSON(I18nReplaceConfigDto) |