Accept suggestion
accept_suggestionAccept a translation suggestion: its text becomes the translation of the key in that language. With declineOther, all other active suggestions for the same key and language are declined.
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": {
"keyName": "<keyName>",
"languageTag": "<languageTag>",
"suggestionId": "<suggestionId>"
},
"name": "accept_suggestion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Optional: branch name | |
| keyName | Yes | The translation key name | |
| namespace | No | Optional: namespace of the key | |
| projectId | No | ID of the project. Can be left out when the credential is bound to one project: a project API key, or an OAuth token for one project. | |
| languageTag | Yes | Language tag (e.g. 'de') | |
| declineOther | No | Optional: decline the other active suggestions of this key and language (default false) | |
| suggestionId | Yes | ID of the suggestion (from list_suggestions) |