Update Component Properties
design_update_componentUpdate existing UI component properties on the canvas with real-time changes. Merge new props with current values.
Instructions
Update properties of an existing component on the canvas. Changes appear in real-time on the client dashboard.
Args:
id (string): Component ID (from design_add_component response)
props (object): Properties to update (merges with existing)
Example:
design_update_component(id="comp_12345", props={"title": "新标题", "button_text": "点击这里"})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Component ID | |
| props | Yes | Properties to update |