Duplicate flow
duplicate_flowCopy a saved Wavelength flow into a new flow with the same transcript and graph. The new title defaults to ' (copy)'. Plan flow limits apply. Returns the new flow id, title, node and edge counts, and a link to open it.
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": {
"flow_id": "<flow_id>"
},
"name": "duplicate_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional title for the copy. Defaults to '<old title> (copy)'. | |
| flow_id | Yes | The id of the flow to copy. |