mmar_update_role
Update an existing role's cardinality and class references on a relationclass by sending the complete desired role state.
Instructions
Update an existing role on a relationclass. Use this to change cardinality (min/max) or which classes a role can connect to (class_references). Send the complete desired state of the role.
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": {
"uuid": "<uuid>",
"role_data": "<role_data>"
},
"name": "mmar_update_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | The UUID of the Role to update | |
| role_data | Yes | JSON string of the updated Role data including class_references, port_references, and other properties |