MCP ToolsComponents
remove_component
Remove component dependency from sketch.
Input Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
sketchId | string | Yes | ID of the sketch to remove the component from. |
component | string | Yes | Name of the component to remove. |
Output Shape
{
"sketchId": "my-sketch-01",
"component": "perlin-noise",
"removed": true
}Side Effects
- Removes the component from the sketch's dependency list.
- The component code will no longer be available to the sketch algorithm at render time.
Error Cases
| Error | Cause |
|---|---|
Sketch not found | The provided sketchId does not match any saved sketch. |
Component not found | The provided component name is not a dependency of this sketch. |
Golden Path Example
Request
{
"sketchId": "my-sketch-01",
"component": "perlin-noise"
}Response
{
"sketchId": "my-sketch-01",
"component": "perlin-noise",
"removed": true
}