cml_add_service
Add a domain service to an aggregate by specifying its name, operations with parameters and return types, within a selected bounded context.
Instructions
Add a domain service to an aggregate
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": {
"contextName": "<contextName>",
"aggregateName": "<aggregateName>",
"name": "<name>"
},
"name": "cml_add_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the service | |
| operations | No | Service operations | |
| contextName | Yes | Name of the bounded context | |
| aggregateName | Yes | Name of the aggregate |