Delete a registered component
delete_componentPermanently remove a registered HTML component from your project. Retire sections no longer on the page; deletion is irreversible.
Instructions
Permanently remove a registered component (editable HTML chunk) from the project. Use when retiring a section that's no longer on the page. Returns 404 if the component doesn't exist. Destructive — no undo.
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": {
"id": "<id>"
},
"name": "delete_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Component id to delete (numeric). Returned by register_component and listed under a page's components. |