add_activity
Add a BPMN activity to your diagram, specifying its type (e.g., task, user task, service task), name, and optional position and properties.
Instructions
Add an activity to the current 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": {
"activityType": "<activityType>",
"name": "<name>"
},
"name": "add_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the activity | |
| position | No | Position of the activity (optional) | |
| properties | No | Additional properties (assignee, candidateGroups, etc.) | |
| activityType | Yes | Type of activity |