Skip to content

feat: Component Tool - Improved Component Creation + Retrieval#94

Open
memo-pineda wants to merge 1 commit intosaifrom
guillermo/component-creation
Open

feat: Component Tool - Improved Component Creation + Retrieval#94
memo-pineda wants to merge 1 commit intosaifrom
guillermo/component-creation

Conversation

@memo-pineda
Copy link

Summary

Add Zod schemas for 6 new de_component_tool actions exposing Webflow Designer Extension component APIs, and extend transform_element_to_component with optional metadata fields.

New Actions

Action Webflow API Jira
create_blank_component webflow.registerComponent({ name, group?, description? }) STRUCT-3521
get_component_by_id webflow.getComponent(id) STRUCT-3592
get_component_by_name webflow.getComponentByName(name) / (group, name) STRUCT-3615
open_component_canvas webflow.openCanvas({ componentId }) STRUCT-3559
get_component_settings component.getSettings() STRUCT-3527
set_component_settings component.setSettings(partial) STRUCT-3527
transform_element_to_component (extended) Added optional group, description params STRUCT-3525

Changes

  • src/tools/deComponents.ts: 6 new action schemas, extended transform_element_to_component, updated .refine() validator

Test plan

  • Build passes: npm run build
  • Existing component actions still work
  • New action schemas validate via MCP Inspector
  • End-to-end test via Cursor with bridge app connected

Add Zod schemas for create_blank_component, get_component_by_id,
get_component_by_name, open_component_canvas, get_component_settings,
and set_component_settings. Extend transform_element_to_component
with optional group and description fields.
@memo-pineda memo-pineda changed the base branch from main to sai March 22, 2026 22:14
@memo-pineda memo-pineda changed the title Add component creation and management tool actions feat: Component Tool - Improved Component Creation + Retrieval Mar 23, 2026
@memo-pineda memo-pineda marked this pull request as ready for review March 24, 2026 03:12
@memo-pineda memo-pineda requested a review from a team as a code owner March 24, 2026 03:12
@memo-pineda memo-pineda requested review from 4vanger and viratatwebflow and removed request for a team and 4vanger March 24, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant