add_pool
Add a participant pool to the BPMN collaboration diagram, specifying name, size, position, and black-box option for process ownership.
Instructions
Add a pool to the current collaboration 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": {
"name": "<name>"
},
"name": "add_pool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the participant/pool | |
| size | No | Size of the pool (optional) | |
| blackBox | No | Create a black-box participant without an owned process | |
| position | No | Position of the pool (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blackBox | Yes | ||
| filename | Yes | Active BPMN filename | |
| elementId | Yes | Stable generated or existing BPMN ID | |
| processId | No | Stable generated or existing BPMN ID |