Draft Own Frame
draft_own_frameConstruct and validate an OpenWebNet frame using WHO, command type, and WHERE codes to produce a syntactically correct protocol message.
Instructions
Construct and validate a syntactically correct OpenWebNet frame.
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": {
"who": "<who>",
"command_type": "<command_type>",
"where": "<where>"
},
"name": "draft_own_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| who | Yes | Subsystem WHO code (1 = Lighting, 2 = Automation, 4 = Climate, etc.). | |
| what | No | Action or WHAT code (e.g. 1 for ON, 0 for OFF). | |
| where | Yes | Device address (e.g. '12', '0', '21#4#1'). | |
| values | No | Optional list of values for dimension writes (e.g. ['50', '0'] for 50% brightness). | |
| dimension | No | Dimension index (e.g. 1 for level, 0 for temp). | |
| command_type | Yes | One of 'command', 'status_request', 'dimension_request', 'dimension_writing'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |