reactflow_generate_flow
Generates a React Flow component from a natural-language description, returning ready-to-use TSX code with proper imports.
Instructions
Generate a React Flow component from a natural-language description. Returns ready-to-use TSX with proper imports.
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": {
"description": "<description>"
},
"name": "reactflow_generate_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| controlled | No | Use controlled flow with Zustand store (default: true) | |
| description | Yes | Describe the flow you want (e.g., 'simple two-node flow with drag and drop sidebar', 'DAG pipeline editor with custom nodes', 'mind map with auto layout', 'workflow builder with undo/redo') |