diff --git a/packages/core/src/types/types.ts b/packages/core/src/types/types.ts index d3e404c58..580a21819 100644 --- a/packages/core/src/types/types.ts +++ b/packages/core/src/types/types.ts @@ -2000,7 +2000,14 @@ export const ElicitRequestFormParamsSchema = TaskAugmentedRequestParamsSchema.ex type: z.literal('object'), properties: z.record(z.string(), PrimitiveSchemaDefinitionSchema), required: z.array(z.string()).optional() - }) + }) as z.ZodType< + | { + type?: 'object' | (string & {}); + properties?: Record; + required?: string[]; + } + | { [key: string]: unknown } + > }); /**