Add a language to a project
add_project_languageAdd a catalog language as a new target language on an existing project. Resolve the catalog language id first with list_languages. When referring to a project or language in your reply to the user, use its name and locale (e.g. "French (fr-FR)") — ids (UUIDs) are for tool calls only, never show them to the user.
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>",
"languageId": "<languageId>"
},
"name": "add_project_language"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project id (UUID) or slug | |
| languageId | Yes | Catalog language id to add (from list_languages) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | project_language id — what the glossary and style-guide tools key on | |
| name | Yes | ||
| locale | Yes | ||
| isSource | Yes | ||
| projectId | Yes | ||
| languageId | No | Catalog language id, null for a locale not in the catalog | |
| pathLocale | No | Spelling this locale takes in repository paths, when it differs |