toterslokalise_create_keys
Create translation keys and locale-specific text from sources like Figma, keep existing values unless overwrite is set, and preview writes with dryRun.
Instructions
WRITE ACTION: create translation keys with their text, e.g. keys and strings read from a Figma design. Values are keyed by locale (use the project languages, e.g. en-US, ar-LB). Existing text is kept unless existingValues is "overwrite". New translations land as drafts in the chosen environment. Use dryRun first to preview. Writing source-language (English) text needs a credential with the source:write scope.
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": {
"projectId": "<projectId>",
"keys": "<keys>"
},
"name": "toterslokalise_create_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| tags | No | ||
| dryRun | No | ||
| projectId | Yes | Lingo Rider project ID | |
| environment | No | Environment slug, usually development or staging | development |
| existingValues | No | keep | |
| createNamespaces | No |