Save flow
save_flowCreate a Flow Studio flow (no flowId; name required) and get { flowId, version }, or update one of the user's flows (404 otherwise) and get the new version. On update, nodes, edges, characters and voices each replace the stored array when passed and are kept when omitted. nodes and edges must form a graph with no cycle (400). aspectRatio is "16:9" or "9:16"; visualStyle at most 600 characters; seasons up to 99 of { number 1-99, title, blurb }; executionMode "step-functions" (default) or "bedrock-flows". Spends no credits; use run_flow to run it. A flow with characters and seasons is a series for the episode tools.
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": {
"context": "<context>"
},
"name": "save_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Required to create. | |
| edges | No | Replaces all edges; must not form a cycle. | |
| nodes | No | Replaces all nodes. | |
| flowId | No | From list_flows. Omit to create. | |
| voices | No | Replaces the list. | |
| context | Yes | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| seasons | No | Up to 99 of { number 1-99, title, blurb }. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| characters | No | Series cast; replaces the list. | |
| aspectRatio | No | "16:9" or "9:16". | |
| description | No | ||
| visualStyle | No | At most 600 characters. | |
| executionMode | No | "step-functions" (default) or "bedrock-flows". | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |