Skip to content

Commit c2ee97e

Browse files
authored
feat(sequential-thinking): add tool annotations (#3534)
feat(sequential-thinking): add tool annotations Adds MCP ToolAnnotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to the sequential-thinking tool, bringing it in line with the annotation pattern established by the filesystem server. Fixes #3403
1 parent 83b2205 commit c2ee97e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/sequentialthinking/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ You should:
8181
branchId: z.string().optional().describe("Branch identifier"),
8282
needsMoreThoughts: z.boolean().optional().describe("If more thoughts are needed")
8383
},
84+
annotations: {
85+
readOnlyHint: true,
86+
destructiveHint: false,
87+
idempotentHint: true,
88+
openWorldHint: false,
89+
},
8490
outputSchema: {
8591
thoughtNumber: z.number(),
8692
totalThoughts: z.number(),

0 commit comments

Comments
 (0)