Skip to content

Commit dab4dda

Browse files
feat: enhance comments tool registration with openWorldHint
- Added openWorldHint to the annotations in the registerCommentsTools function for improved user guidance. - Updated zod import to version 3 in enterprise.ts for consistency with other schema files.
1 parent f643e46 commit dab4dda

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/tools/comments.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ export function registerCommentsTools(
125125
description: `Data tool - A comment in Webflow is user feedback attached to a specific element or page inside the Designer, stored as a top-level thread with optional replies. Each comment includes author info, timestamps, content, resolved state, and design-context metadata like page location and breakpoint. Use this tool to inspect feedback discussions across the site and understand where and why they were left.`,
126126
annotations: {
127127
readOnlyHint: true,
128+
openWorldHint: true,
128129
},
129130
inputSchema: {
130131
actions: z

src/tools/enterprise.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
22
import { WebflowClient } from "webflow-api";
3-
import z from "zod";
3+
import z from "zod/v3";
44
import { requestOptions } from "../mcp";
55
import { Robots } from "webflow-api/api";
66
import {

0 commit comments

Comments
 (0)