pixelblaze_update_pattern
Update an existing PixelBlaze LED pattern by replacing its JavaScript source code to change behavior.
Instructions
Replace the JavaScript source code of an existing pattern.
Args: pattern_id: The ID of the pattern to update. code: New PixelBlaze JavaScript source code.
Returns a confirmation message.
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": {
"pattern_id": "<pattern_id>",
"code": "<code>"
},
"name": "pixelblaze_update_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| pattern_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |