Skip to content

Commit 4364e94

Browse files
committed
push build
1 parent 6d86b01 commit 4364e94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ server.tool("create_rectangle", `Create a rectangle shape in Frame0.`, {
110110
.describe("Left position of the rectangle shape in the absolute coordinate system."),
111111
top: z
112112
.number()
113-
.describe("Left position of the rectangle shape in the absolute coordinate system."),
113+
.describe("Top position of the rectangle shape in the absolute coordinate system."),
114114
width: z.number().describe("Width of the rectangle shape."),
115115
height: z.number().describe("Height of the rectangle shape."),
116116
fillColor: z
@@ -127,6 +127,7 @@ server.tool("create_rectangle", `Create a rectangle shape in Frame0.`, {
127127
.array(z.number())
128128
.length(4)
129129
.optional()
130+
.default([0, 0, 0, 0])
130131
.describe("Corner radius of the rectangle shape. Must be in the form of [left-top, right-top, right-bottom, left-bottom]."),
131132
}, async ({ name, parentId, left, top, width, height, fillColor, strokeColor, corners, }) => {
132133
try {

0 commit comments

Comments
 (0)