designer-tools
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePage Structure
页面结构
Build, inspect, and manage page elements and components in the Webflow Designer.
在Webflow Designer中构建、查看和管理页面元素与组件。
Important Note
重要说明
ALWAYS use Webflow MCP tools for all operations:
- Use Webflow MCP's to get best practices before any other tool call
webflow_guide_tool - Use Webflow MCP's with action
data_sites_toolto identify the target sitelist_sites - Use Webflow MCP's to get current page, switch pages, or create pages/folders
de_page_tool - Use Webflow MCP's with action
element_toolto retrieve page elementsget_all_elements - Use Webflow MCP's with action
element_toolto select a specific elementselect_element - Use Webflow MCP's with action
element_toolto update element attributesadd_or_update_attribute - Use Webflow MCP's to create new elements
element_builder - Use Webflow MCP's to get visual previews of elements before and after changes
element_snapshot_tool - Use Webflow MCP's to create and update styles on elements
style_tool - Use Webflow MCP's to check supported style properties
de_learn_more_about_styles - Use Webflow MCP's with action
data_components_toolto list all site componentslist_components - Use Webflow MCP's with action
data_components_toolto inspect a componentget_component_content - Use Webflow MCP's with action
data_components_toolto update component contentupdate_component_content - Use Webflow MCP's with action
data_components_toolto get component propertiesget_component_properties - Use Webflow MCP's with action
data_components_toolto update component propertiesupdate_component_properties - Use Webflow MCP's to manage component instances in the Designer
de_component_tool - DO NOT use any other tools or methods for Webflow operations
- All tool calls must include the required parameter (15-25 words, third-person perspective)
context - Designer connection required — user must have Webflow Designer open and connected
所有操作必须使用Webflow MCP工具:
- 调用任何其他工具前,首先使用Webflow MCP的获取最佳实践
webflow_guide_tool - 使用Webflow MCP的配合
data_sites_tool操作定位目标站点list_sites - 使用Webflow MCP的获取当前页面、切换页面或者创建页面/文件夹
de_page_tool - 使用Webflow MCP的配合
element_tool操作拉取页面元素get_all_elements - 使用Webflow MCP的配合
element_tool操作选中指定元素select_element - 使用Webflow MCP的配合
element_tool操作更新元素属性add_or_update_attribute - 使用Webflow MCP的创建新元素
element_builder - 使用Webflow MCP的获取元素修改前后的可视化预览
element_snapshot_tool - 使用Webflow MCP的创建和更新元素样式
style_tool - 使用Webflow MCP的查询支持的样式属性
de_learn_more_about_styles - 使用Webflow MCP的配合
data_components_tool操作列出站点所有组件list_components - 使用Webflow MCP的配合
data_components_tool操作查看组件内容get_component_content - 使用Webflow MCP的配合
data_components_tool操作更新组件内容update_component_content - 使用Webflow MCP的配合
data_components_tool操作获取组件属性get_component_properties - 使用Webflow MCP的配合
data_components_tool操作更新组件属性update_component_properties - 使用Webflow MCP的在Designer中管理组件实例
de_component_tool - 禁止使用其他任何工具或方法执行Webflow操作
- 所有工具调用必须包含必填的参数(15-25字,第三人称视角)
context - 需要连接Designer——用户必须打开并连接Webflow Designer
Instructions
操作指引
Phase 1: Discovery
阶段1:信息收集
- Call first — always the first MCP tool call in any workflow
webflow_guide_tool - Get the site: Use with action
data_sites_toolto identify the target site. If only one site exists, use it automatically.list_sites - Get current page: Use to identify which page is active in the Designer
de_page_tool - If user specifies a different page: Use to switch to it before proceeding
de_page_tool - Identify the task type:
- Inspect: List elements, view structure, preview → go to Phase 2
- Build/Modify/Delete: Add, update, restructure, remove → go to Phase 3
- Components: List, inspect, update → go to Phase 2 or Phase 3 depending on read vs write
- 优先调用——任何工作流的首个MCP工具调用必须是该工具
webflow_guide_tool - 获取站点:使用配合
data_sites_tool操作定位目标站点,如果仅存在一个站点则自动使用list_sites - 获取当前页面:使用确认Designer中激活的页面
de_page_tool - 如果用户指定了其他页面:先使用切换到对应页面再继续操作
de_page_tool - 确认任务类型:
- 查看类:列出元素、查看结构、预览 → 进入阶段2
- 构建/修改/删除类:添加、更新、重构、移除 → 进入阶段3
- 组件类:列出、查看、更新 → 根据读/写操作分别进入阶段2或阶段3
Phase 2: Inspection (read-only operations)
阶段2:查看(只读操作)
- List page elements: Use then
de_page_toolwithelement_toolto retrieve page structure. Present a summary of sections, elements, and nesting.get_all_elements - Preview elements: Use to get visual previews of specific sections
element_snapshot_tool - List components: Use with action
data_components_toolto list all site componentslist_components - Inspect a component: Use with action
data_components_toolorget_component_contentfor Designer instancesde_component_tool
- 列出页面元素:先调用,再使用
de_page_tool配合element_tool拉取页面结构,展示区块、元素和嵌套关系的汇总信息get_all_elements - 预览元素:使用获取指定区块的可视化预览
element_snapshot_tool - 列出组件:使用配合
data_components_tool操作列出站点所有组件list_components - 查看组件:使用配合
data_components_tool操作,或者使用get_component_content查看Designer中的组件实例de_component_tool
Phase 3: Planning (before any mutation)
阶段3:规划(所有变更操作前执行)
Before creating, updating, or deleting anything:
9. Snapshot current state: Use to capture the area being changed
10. Present the plan: Describe exactly what will be created, modified, or deleted
11. Request explicit confirmation: Ask the user before proceeding:
- "Would you like me to proceed with these changes?"
- "Shall I go ahead and create this?"
- "Do you want me to apply these changes?"
- "Before I make changes, here's what I'll do: [plan]. Confirm to proceed."
12. For destructive operations (delete, restructure): Require "confirm" or "delete", warn about child elements that will also be affected
element_snapshot_tool在创建、更新或删除任何内容前:
9. 快照当前状态:使用捕获待修改区域的当前状态
10. 展示操作计划:清晰描述即将创建、修改或删除的内容
11. 请求明确确认:执行操作前询问用户,例如:
- "你是否希望我继续执行这些变更?"
- "我可以继续创建该内容吗?"
- "你是否需要我应用这些变更?"
- "执行变更前我将完成以下操作:[计划内容],请确认是否继续。"
12. 针对破坏性操作(删除、重构):需要用户回复"confirm"或"delete"确认,同时告知用户关联的子元素也会受到影响
element_snapshot_toolPhase 4: Execution (after confirmation only)
阶段4:执行(仅在获得确认后执行)
- Build elements: Use to create new elements (max 3 levels deep). For deeper structures, build in multiple passes.
element_builder - Style elements: Use to apply or update styles on created or existing elements
style_tool - Modify elements: Use with
element_toolto update attributes, text, or linksadd_or_update_attribute - Update components: Use with
data_components_toolorupdate_component_content. Useupdate_component_propertiesfor Designer-level instance changes.de_component_tool - Create pages: Use to create new pages or folders
de_page_tool
- 构建元素:使用创建新元素(单次最多嵌套3层),更深层级的结构分多次创建
element_builder - 设置元素样式:使用为新创建或已有的元素应用/更新样式
style_tool - 修改元素:使用配合
element_tool操作更新属性、文本或链接add_or_update_attribute - 更新组件:使用配合
data_components_tool或update_component_content操作,针对Designer层级的实例变更使用update_component_propertiesde_component_tool - 创建页面:使用创建新页面或文件夹
de_page_tool
Phase 5: Verification
阶段5:验证
- Snapshot the result: Use to capture the new state
element_snapshot_tool - Report what changed: Summarize the changes made
- 快照结果:使用捕获变更后的新状态
element_snapshot_tool - 反馈变更内容:汇总说明已完成的变更
Examples
示例
Example 1: List page elements
示例1:列出页面元素
User: "Show me all elements on the homepage"
- Call for best practices
webflow_guide_tool - Call with
data_sites_toolto identify the sitelist_sites - Call to confirm current page is homepage (switch if needed)
de_page_tool - Call with
element_toolto retrieve page structureget_all_elements - Present organized summary of sections, elements, and nesting
用户: "展示首页上的所有元素"
- 调用获取最佳实践
webflow_guide_tool - 调用配合
data_sites_tool操作定位站点list_sites - 调用确认当前页面是首页(如有需要则切换)
de_page_tool - 调用配合
element_tool拉取页面结构get_all_elements - 结构化展示区块、元素和嵌套关系的汇总信息
Example 2: Build a hero section
示例2:构建英雄区块
User: "Add a hero section with a heading and CTA button"
- Call for best practices
webflow_guide_tool - Call with
data_sites_toolto identify the sitelist_sites - Call to get current page
de_page_tool - Call to capture current state
element_snapshot_tool - Present plan: "I'll create a Section with a Heading and Button. Would you like me to proceed?"
- After confirmation: call with nested structure
element_builder - Call to apply styles (padding, background, typography)
style_tool - Call to show the result
element_snapshot_tool
用户: "添加一个带有标题和CTA按钮的英雄区块"
- 调用获取最佳实践
webflow_guide_tool - 调用配合
data_sites_tool操作定位站点list_sites - 调用获取当前页面
de_page_tool - 调用捕获当前状态
element_snapshot_tool - 展示计划:"我将创建一个包含标题和按钮的Section区块,你是否希望我继续执行?"
- 获得确认后:调用创建嵌套结构
element_builder - 调用应用样式(内边距、背景、排版)
style_tool - 调用展示结果
element_snapshot_tool
Example 3: Update a component
示例3:更新组件
User: "Update the footer copyright text to 2026"
- Call for best practices
webflow_guide_tool - Call with
data_sites_toolto identify the sitelist_sites - Call with
data_components_toolto find the footerlist_components - Call with
data_components_toolto inspect itget_component_content - Present: "I'll update the copyright text from '2025' to '2026'. Would you like me to proceed?"
- After confirmation: call with
data_components_toolupdate_component_content - Report the change
用户: "将页脚的版权文本更新为2026"
- 调用获取最佳实践
webflow_guide_tool - 调用配合
data_sites_tool操作定位站点list_sites - 调用配合
data_components_tool操作找到页脚组件list_components - 调用配合
data_components_tool操作查看组件内容get_component_content - 展示计划:"我会将版权文本从'2025'更新为'2026',你是否希望我继续执行?"
- 获得确认后:调用配合
data_components_tool操作update_component_content - 反馈变更完成
Example 4: Restructure a section
示例4:重构区块
User: "Restructure the hero section layout"
- Call for best practices
webflow_guide_tool - Call with
data_sites_toolto identify the sitelist_sites - Call to get current page
de_page_tool - Call to capture current hero section
element_snapshot_tool - Call to inspect current structure
element_tool - Present restructuring plan with before/after description
- After confirmation: apply changes using and/or
element_toolelement_builder - Call to show the result
element_snapshot_tool
用户: "重构英雄区块的布局"
- 调用获取最佳实践
webflow_guide_tool - 调用配合
data_sites_tool操作定位站点list_sites - 调用获取当前页面
de_page_tool - 调用捕获当前英雄区块的状态
element_snapshot_tool - 调用查看当前结构
element_tool - 展示重构计划,说明变更前后的差异
- 获得确认后:使用和/或
element_tool应用变更element_builder - 调用展示结果
element_snapshot_tool
Example 5: Create a two-column layout
示例5:创建两栏布局
User: "Create a two-column layout with text on left and image on right"
- Call for best practices
webflow_guide_tool - Call with
data_sites_toolto identify the sitelist_sites - Call to get current page
de_page_tool - Call to capture current state
element_snapshot_tool - Present plan: "I'll create a Grid with two columns — text block on left, image on right. Would you like me to proceed?"
- After confirmation: call with grid structure
element_builder - Call to set grid layout properties
style_tool - Call to show the result
element_snapshot_tool
用户: "创建一个左侧为文本、右侧为图片的两栏布局"
- 调用获取最佳实践
webflow_guide_tool - 调用配合
data_sites_tool操作定位站点list_sites - 调用获取当前页面
de_page_tool - 调用捕获当前状态
element_snapshot_tool - 展示计划:"我将创建一个两列Grid,左侧为文本块,右侧为图片,你是否希望我继续执行?"
- 获得确认后:调用创建网格结构
element_builder - 调用设置网格布局属性
style_tool - 调用展示结果
element_snapshot_tool
Guidelines
规范
- always first — before any other MCP tool in every workflow
webflow_guide_tool - Snapshot before and after — use before mutations and after to show results
element_snapshot_tool - Never silently mutate — every write operation requires explicit user confirmation
- before
de_page_tool— always confirm/switch page before inspecting elementselement_tool - Batch changes need itemized preview — if modifying multiple elements, list each change
- Prefer Webflow's native layout tools (Grid, Flexbox) over manual positioning
- Components shared across pages should be updated via (changes propagate)
data_components_tool - Component instances on a specific page use
de_component_tool - supports max 3 levels per call — build deeper structures in stages
element_builder - Check for supported style properties when unsure
de_learn_more_about_styles
- 始终优先调用——所有工作流中调用其他MCP工具前必须先调用该工具
webflow_guide_tool - 变更前后快照:变更操作前和完成后都要使用捕获状态展示结果
element_snapshot_tool - 禁止静默变更:所有写操作都必须获得用户明确确认
- 调用前先调用
element_tool——查看元素前必须先确认/切换到对应页面de_page_tool - 批量变更需要逐项预览:如果要修改多个元素,需要列出每一项变更内容
- 优先使用Webflow原生布局工具(Grid、Flexbox),避免手动定位
- 跨页面共享的组件需要通过更新(变更会自动同步)
data_components_tool - 指定页面上的组件实例使用操作
de_component_tool - 单次调用最多支持3层嵌套——更深层级的结构分阶段创建
element_builder - 不确定支持的样式属性时,查询
de_learn_more_about_styles