pixelblaze_get_pattern_code
Retrieve the JavaScript source code for a specific LED pattern by providing its pattern ID.
Instructions
Get the JavaScript source code of a pattern.
Args: pattern_id: The pattern ID to retrieve code for.
Returns the JavaScript source code string.
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>"
},
"name": "pixelblaze_get_pattern_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |