delete_component
Deletes a SketchUp group or component instance using its entity ID, so you can remove specific model objects by ID; raw faces and edges are not supported.
Instructions
Delete a group or component instance by entity ID. Raw faces, edges and other entities fail with -32602.
Returns: JSON {ok: true}.
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 | Entity ID from a previous response (integer or its string form) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |