Skip to content

fix: allow any JSON Schema type for outputSchema #2426

fix: allow any JSON Schema type for outputSchema

fix: allow any JSON Schema type for outputSchema #2426

Triggered via pull request November 25, 2025 19:29
Status Failure
Total duration 28s
Artifacts

main.yml

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

Annotations

6 errors
build
Process completed with exit code 2.
build: src/spec.types.test.ts#L582
Type '{ params?: { _meta?: { progressToken?: string | number | undefined; } | undefined; } | undefined; method: "ping"; jsonrpc: "2.0"; id: RequestId; } | { params?: { _meta?: { progressToken?: string | ... 1 more ... | undefined; } | undefined; } | undefined; method: "roots/list"; jsonrpc: "2.0"; id: RequestId; } | { ......' is not assignable to type 'ServerRequest'.
build: src/spec.types.test.ts#L552
Type '{ method: "sampling/createMessage"; params: { _meta?: { progressToken?: string | number | undefined; } | undefined; messages: { role: "assistant" | "user"; content: ({ type: "tool_use"; name: string; id: string; input: {}; _meta?: {} | undefined; } | ... 4 more ... | { ...; })[] | ... 5 more ... | { ...; }; _meta?: ...' is not assignable to type 'CreateMessageRequest'.
build: src/spec.types.test.ts#L318
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; }[]; }' is not assignable to type 'ListToolsResult'.
build: src/spec.types.test.ts#L310
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; }' is not assignable to type 'Tool'.
build: src/spec.types.test.ts#L155
Type '{ _meta?: { progressToken?: string | number | undefined; } | undefined; messages: { role: "assistant" | "user"; content: ({ type: "tool_use"; name: string; id: string; input: {}; _meta?: {} | undefined; } | ... 4 more ... | { ...; })[] | ... 5 more ... | { ...; }; _meta?: {} | undefined; }[]; ... 8 more ...; toolCho...' is not assignable to type 'CreateMessageRequestParams'.