create_flow
Create a new Node-RED flow by passing its configuration as a JSON string, and receive the unique ID for the newly created flow.
Instructions
Create a new flow.
Args: flow_json: Flow configuration as JSON string
Returns: FlowCreateResult with the new flow ID.
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_json": "<flow_json>"
},
"name": "create_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No |