Skip to content

Commit cad96bb

Browse files
committed
chore: optimize prompt to get llm better understanding
1 parent c5c5992 commit cad96bb

File tree

11 files changed

+1217
-192
lines changed

11 files changed

+1217
-192
lines changed

packages/canvas/DesignCanvas/src/mcp/index.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,22 @@ import {
55
delNode,
66
addNode,
77
changeNodeProps,
8-
selectSpecificNode
8+
selectSpecificNode,
9+
EditPageSchema
910
} from './tools'
1011
import resourcesExport from './resources'
1112

1213
export default {
13-
tools: [getCurrentSelectedNode, getPageSchema, queryNodeById, delNode, addNode, changeNodeProps, selectSpecificNode],
14+
tools: [
15+
getCurrentSelectedNode,
16+
getPageSchema,
17+
queryNodeById,
18+
delNode,
19+
addNode,
20+
changeNodeProps,
21+
selectSpecificNode,
22+
EditPageSchema
23+
],
1424
resources: resourcesExport.resources,
1525
resourceTemplates: resourcesExport.resourceTemplates
1626
}

0 commit comments

Comments
 (0)