update_element
Modify a property of an existing StarUML element by specifying its ID, field name, and new value.
Instructions
Set a property on an existing element. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension
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>",
"field": "<field>"
},
"name": "update_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Element _id | |
| field | Yes | Property name, e.g. 'name', 'documentation', 'visibility' | |
| value | No | New value |