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
This commit is contained in:
Niels Kaspers 2026-03-15 17:50:08 +02:00 • committed by GitHub
commit c2ee97e792
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,6 +81,12 @@ You should:
branchId: z.string().optional().describe("Branch identifier"),
needsMoreThoughts: z.boolean().optional().describe("If more thoughts are needed")
},
annotations: {
readOnlyHint: true,
destructiveHint: false,
idempotentHint: true,
openWorldHint: false,
},
outputSchema: {
thoughtNumber: z.number(),
totalThoughts: z.number(),