edit_translation
Add survey languages and edit translations: the default language, how respondents get a language, the language picker, per-language question/answer/block text and visibility, translator-scoped edits, and machine translation with a saved AI credential. delete_translation_language removes a language.
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": {
"survey_id": "<survey_id>"
},
"name": "edit_translation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| survey_id | Yes | Survey UUID | |
| add_language | No | Add a survey language (code like "es" or "pt-BR", and its display name). | |
| auto_translate | No | Machine-translate the survey into an added language with a saved AI credential (fill empty fields, or overwrite all). Calls the credential's provider. | |
| set_language_picker | No | The respondent-facing language picker question: type, title, options, and behavior. | |
| set_default_language | No | Make an added language the survey's default (source) language. | |
| set_language_routing | No | How respondents get a language: manual (the language picker) or system_language (their browser's). | |
| set_translator_field | No | Translator-scoped edit of one translatable field. | |
| add_translator_option | No | Translator-scoped added answer option for one language. | |
| set_block_translation | No | One language's text for a block's end-of-survey message or redirect. | |
| set_answer_translation | No | One language's text for a question's answer fields (keys from read_translation include translatable_fields). | |
| set_question_translation | No | One language's question title and media. | |
| set_translator_visibility | No | Translator-scoped show/hide of a question or option. | |
| set_language_option_visibility | No | Show or hide an answer option for one language. | |
| set_language_picker_translation | No | One language's text for the language picker itself. | |
| set_language_question_visibility | No | Show or hide a question for one language. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |