Build a standard workflow
create_workflow_from_intentBuild the ordinary workflow for the languages you name. The server draws it.
Prefer this over create_workflow: send the languages with their voices and ONE script route; the server decides the nodes, ports, translator and quality checks. Author a definition only for a shape this refuses. Call again with confirm=true.
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": {
"name": "<name>",
"source_language": "<source_language>",
"speaks": "<speaks>"
},
"name": "create_workflow_from_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | What the user will see it called. Its own question; never invented. | |
| force | No | Skips the offer of an existing workflow. Only after the user chose to build a new one. | |
| checks | No | Omit unless the user already named checks: "none" for none, or list them. Omitted builds the standard pair. | |
| speaks | Yes | One entry per language the workflow speaks, each with its voice. | |
| confirm | No | false creates nothing and returns what would be created. true creates it. | |
| normalize | No | Omit to let the script decide, "standard" to normalize regardless, "none" to speak it as written. | |
| script_text | No | Only a script the user typed into the conversation. A file goes through upload_script_file. | |
| audio_format | No | The delivered audio format. Omit for the product default. | |
| source_language | Yes | The locale the script is written in, e.g. 'en-us'. | |
| script_upload_id | No | From finish_script_upload. The route for a file the user has. | |
| script_has_markup | No | true when the script carries provider markup like <break/> the normalizer must keep. | |
| pronunciation_remediation | No | Only if the user already asked: with a Pronunciation check, detect->correct->re-grade, not a retry. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| nodes | No | ||
| valid | No | ||
| errors | No | ||
| blocked | No | ||
| created | No | ||
| next_step | No | ||
| console_url | No | ||
| workflow_id | No | ||
| not_included | No | ||
| feature_offers | No | ||
| workspace_slug | No | ||
| workflow_summary | No | ||
| requires_confirmation | No |