sprut_get_catalog_template
Fetch full device template and definition from catalog using file path or model name; optionally specify store or controller.
Instructions
Get full device template and definition from catalog.
Args: file_or_model: Template file path or model name. store: Optional catalog store (default MAIN). controller: Optional controller (e.g. zigbee).
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": {
"file_or_model": "<file_or_model>"
},
"name": "sprut_get_catalog_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | ||
| controller | No | ||
| file_or_model | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |