add_widgets
Add multiple widgets to an Appsmith app in a single call, specifying type, position, and properties for each widget.
Instructions
Add multiple widgets in one tool call. Each entry is the same shape as add_widget's
args: {widget_type, parent_id?, left?, top?, columns?, rows?, props?, name?, new_id?}.
columns and rows default to each widget type's own getDefaults() values. Returns a
list of {widgetId, widgetName, type, parent} per widget, in the same order.
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": {
"widgets": "<widgets>"
},
"name": "add_widgets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widgets | Yes |