remove_route
Remove a route frame from the Design Canvas. Prefer using the route ID for unambiguous removal; path removal removes only the first match.
Instructions
Remove a route frame from the Design Canvas.
CONSTRAINTS:
Prefer removal by ID (from list_routes or add_route response) — unambiguous
Removal by path is supported but removes only the first match — risky when duplicate paths exist (e.g., same route at desktop + mobile widths)
If you need to remove a specific viewport size, call list_routes first to find the exact route ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Route ID from list_routes or add_route. Preferred — unambiguous. | |
| path | No | Route path to remove. Removes first match only. Use id for precision. |