flowzap_create_playground
Create a shareable URL to visualize FlowZap code as workflow, sequence, or architecture diagrams in an interactive playground.
Instructions
Create a FlowZap playground session with the given code and return a shareable URL. Use this after generating FlowZap Code to give the user a visual diagram. Set view to 'architecture' when user requests an architecture diagram.
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": {
"code": "<code>"
},
"name": "flowzap_create_playground"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | FlowZap Code to load in the playground | |
| view | No | View mode for the diagram. Use 'architecture' for architecture diagrams, 'sequence' for sequence diagrams, 'workflow' (default) for workflow diagrams. |