Update an existing UI pattern
registry_update_patternUpdate an existing design pattern by its unique id. Resolves missing ids with a NOT_FOUND error, enabling precise corrections without creating duplicates.
Instructions
Patch an existing pattern by id. Fails with NOT_FOUND if the id doesn't exist yet.
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>"
},
"name": "registry_update_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| tags | No | ||
| design | No | ||
| status | No | ||
| components | No | ||
| description | No | ||
| layoutRules | No | ||
| relatedPatterns | No | ||
| compositionRules | No | ||
| usageConstraints | No | ||
| responsiveBehavior | No |