cml_add_value_object
Add a value object with attributes to an aggregate in a bounded context to model domain concepts.
Instructions
Add a value object 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_value_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the value object | |
| attributes | No | Value object attributes | |
| contextName | Yes | Name of the bounded context | |
| aggregateName | Yes | Name of the aggregate |