update_design_element
Update design elements in HacknPlan by renaming, editing documentation, re-parenting, or changing type. Preserve existing values by passing current type_id and name.
Instructions
Update a design element (rename, edit documentation, re-parent, change type). type_id and name are required by the API; pass the element's current values to keep them. Use get_design_element first to read them.
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": {
"project_id": "<project_id>",
"element_id": "<element_id>",
"type_id": "<type_id>",
"name": "<name>"
},
"name": "update_design_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type_id | Yes | ||
| parent_id | No | ||
| element_id | Yes | ||
| project_id | Yes | ||
| description | No |