Skip to main content
Glama

gridstack_make_widget

Convert existing DOM elements into interactive grid widgets for building dynamic dashboard layouts with customizable positioning and sizing options.

Instructions

Convert an existing DOM element into a grid widget

Input Schema

NameRequiredDescriptionDefault
elYesElement selector to convert
optionsNoWidget options

Input Schema (JSON Schema)

{ "properties": { "el": { "description": "Element selector to convert", "type": "string" }, "options": { "description": "Widget options", "properties": { "autoPosition": { "type": "boolean" }, "h": { "type": "number" }, "locked": { "type": "boolean" }, "maxH": { "type": "number" }, "maxW": { "type": "number" }, "minH": { "type": "number" }, "minW": { "type": "number" }, "noMove": { "type": "boolean" }, "noResize": { "type": "boolean" }, "w": { "type": "number" }, "x": { "type": "number" }, "y": { "type": "number" } }, "type": "object" } }, "required": [ "el" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/raghavsharma-simpplr/gridstack-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server