Change project languages or context
update_projectUse this when someone asks to change a project's default locale, replace its list of languages, or set its translation context. Returns which fields changed. The language list is replaced as a whole, no strings are translated or deleted, and the project name stays fixed. Not for adding a language with its translations.
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": {
"projectIdOrName": "<projectIdOrName>"
},
"name": "update_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Translation context for the whole project, up to 600 characters; an empty string clears it | |
| locales | No | Complete replacement list of locale codes, including the default locale | |
| defaultLocale | No | New default locale code; it has to be one of the project's locales | |
| projectIdOrName | Yes | Project id or name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| project | Yes | ||
| changedFields | Yes |