add_swimlane
Creates a swimlane (actor lane) for the process. A lane groups the tasks performed by the same role/system. The actor is required. For a process involving several parties: one lane per actor, created before the tasks, with its laneId referenced in the kindMetadata of each task.
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": {
"id": "<id>",
"actor": "<actor>"
},
"name": "add_swimlane"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique ID of the lane (kebab-case). | |
| name | No | Name shown on the lane. If absent, the actor is used as the name. A shorter label is possible. | |
| actor | Yes | Actor, role or system performing the tasks of the lane. | |
| order | No | Vertical position in the pool (0 = top). If absent, the lane is stacked below the lowest existing one. | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |