Skip to content

Add component creation and management tool actions#94

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

Add component creation and management tool actions#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
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