Rename UI component
rename_ui_componentRename an owned component for free. Supply its current name as expectedName to reject stale edits. Preserves IDs, artwork and historical revisions; re-sync updates its exported display name.
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": {
"packId": "<packId>",
"componentId": "<componentId>",
"name": "<name>",
"expectedName": "<expectedName>"
},
"name": "rename_ui_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| packId | Yes | Owned UI Pack ID. | |
| componentId | Yes | Owned component ID within this pack. | |
| expectedName | Yes |