Skip to content

fix: restore extensibility for ToolAnnotations schema #2339

fix: restore extensibility for ToolAnnotations schema

fix: restore extensibility for ToolAnnotations schema #2339

Triggered via pull request November 20, 2025 17:54
Status Failure
Total duration 1m 11s
Artifacts

main.yml

on: pull_request
Matrix: test
publish
0s
publish
Fit to window
Zoom out
Zoom in

Annotations

4 errors
build
Process completed with exit code 2.
build: src/spec.types.test.ts#L317
Type 'ListToolsResult' is not assignable to type '{ [x: string]: unknown; _meta?: { [x: string]: unknown; } | undefined; nextCursor?: string | undefined; tools: { icons?: { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; }[] | undefined; ... 6 more ...; _meta?: { ...; } | undefined; }[]; }'.
build: src/spec.types.test.ts#L309
Type 'Tool' is not assignable to type '{ icons?: { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; }[] | undefined; name: string; title?: string | undefined; description?: string | undefined; inputSchema: { ...; }; outputSchema?: { ...; } | undefined; annotations?: { ...; } | undefined; _meta?: { ...; } | undefined; }'.
build: src/spec.types.test.ts#L305
Type 'ToolAnnotations' is not assignable to type '{ [x: string]: unknown; title?: string | undefined; readOnlyHint?: boolean | undefined; destructiveHint?: boolean | undefined; idempotentHint?: boolean | undefined; openWorldHint?: boolean | undefined; }'.