dfd_from_spec
Build, lay out, save, and validate a complete Yourdon/DeMarco data flow diagram from a JSON specification in one call, including context and critical-process diagrams.
Instructions
Build a whole DFD in one call, lay it out, save it and check it. spec = {name, path (.bpm, new), code?, comment?, data: [{name, code?, definition?, comment?}], external_entities: [{name, code?, comment?, temporal?}], data_stores: [{name, code?, comment?}], processes: [{name, code?, comment?, parent?}] (parent = code of a process to explode; any order), flows: [{source, destination, name?, code?, data?: [names], access?, comment?}], diagram_names?: {"": top diagram title, : child diagram title}}. Context diagram: one process, entities, flows, no stores. Critical processes: add children with parent= plus their flows and stores. On error the file is left as an empty DFD. Large specs: pass spec_path (a UTF-8 .json file with the same shape) instead of spec.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dfd_from_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | ||
| spec_path | No |