Delete a JS object
appsmith_delete_js_objectDelete a JS object and all its functions, but first check references to avoid breaking bindings. Requires APPSMITH_MCP_ALLOW_DESTRUCTIVE=true.
Instructions
Deletes a JS object and all its functions. Check for references first — nothing rewrites bindings that point at it. Disabled unless APPSMITH_MCP_ALLOW_DESTRUCTIVE=true is set in the server env.
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": {
"collectionId": "<collectionId>"
},
"name": "appsmith_delete_js_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionId | Yes | JS object id, from appsmith_list_js_objects. |