add_dfd_process
Add a process to a Data Flow Diagram, optionally as a child of a specified parent process that becomes composite with its own diagram. Use the code as the process number.
Instructions
Add a process. Without 'parent' it goes on the top diagram (the context diagram's single process '0', or the level-1 processes). With parent= it is a child process of that one (the parent becomes composite and gets its own diagram). Use the code as the process number: '0', '1', '1.1'.
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": {
"model_id": "<model_id>",
"name": "<name>"
},
"name": "add_dfd_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| name | Yes | ||
| parent | No | ||
| comment | No | ||
| model_id | Yes |