Set a Workflow’s target languages
set_workflow_languagesReplace the target languages a Workflow declares, publishing its next version with nothing else changed. Pass baseVersion, the version number the change starts from (get_workflow): refused with WORKFLOW_BASE_VERSION_STALE when another version was published since, so a concurrent edit is never overwritten. The same languages publish nothing (published: false). 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": {
"workflowId": "<workflowId>",
"targetLanguages": "<targetLanguages>",
"baseVersion": "<baseVersion>"
},
"name": "set_workflow_languages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | Workflow id, from list_workflows or set_up_workflow | |
| baseVersion | Yes | The current version number the change starts from | |
| targetLanguages | Yes | Every target locale the Workflow should declare, e.g. ["fr", "de"] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | ||
| published | Yes | false when the languages were already these: no version was published | |
| takeovers | Yes |