File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/pi-firecrawl-mcp/extensions Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -810,7 +810,9 @@ const extractParams = Type.Object(
810810 urls : Type . Array ( Type . String ( ) , { description : "URLs to extract." } ) ,
811811 prompt : Type . Optional ( Type . String ( ) ) ,
812812 systemPrompt : Type . Optional ( Type . String ( ) ) ,
813- schema : Type . Optional ( Type . Unknown ( ) ) ,
813+ // Type.Unknown() serializes to {}, which some backends reject as invalid JSON Schema.
814+ // Use an explicit object schema to stay compatible with stricter validators.
815+ schema : Type . Optional ( Type . Object ( { } , { additionalProperties : true } ) ) ,
814816 allowExternalLinks : Type . Optional ( Type . Boolean ( ) ) ,
815817 enableWebSearch : Type . Optional ( Type . Boolean ( ) ) ,
816818 includeSubdomains : Type . Optional ( Type . Boolean ( ) ) ,
You can’t perform that action at this time.
0 commit comments