Edit a translation
update_phraseUse this when someone asks to fix or change the text of one key in one language. Returns the previous and new text and the projects sharing that string; the change applies in all of them and marks the text as human-edited. Not for adding a new 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": {
"project": "<project>",
"key": "<key>",
"language": "<language>",
"value": "<value>"
},
"name": "update_phrase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Exact existing key | |
| value | Yes | New text for that language, 1 to 2,000 characters | |
| project | Yes | Project name; an id matches nothing | |
| language | Yes | Locale code of the translation to change, such as en or it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | Yes | ||
| status | Yes | ||
| project | Yes | ||
| language | Yes | ||
| previousValue | Yes | ||
| sharedProjects | Yes | Every project using this string; the change applies to all of them |