gridstack_load
Load grid layout configurations from JSON data to initialize dashboard widgets and arrange them in responsive drag-and-drop interfaces.
Instructions
Load grid layout from JSON
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | Yes | Layout data (JSON array or string) | |
| addAndRemove | No | Add new widgets and remove missing ones |
Input Schema (JSON Schema)
{
"properties": {
"addAndRemove": {
"default": true,
"description": "Add new widgets and remove missing ones",
"type": "boolean"
},
"layout": {
"description": "Layout data (JSON array or string)",
"oneOf": [
{
"items": {
"description": "Widget configuration",
"type": "object"
},
"type": "array"
},
{
"type": "string"
}
]
}
},
"required": [
"layout"
],
"type": "object"
}