@@ -144,7 +144,7 @@ export const ExecuteProcessAsyncSchema = z.object({
144144      "Unique identifier of the process to execute asynchronously (UUID or slug)" 
145145    ) , 
146146  parameters : z 
147-     . union ( [ z . string ( ) ,   z . record ( z . any ( ) ) ] ) 
147+     . any ( ) 
148148    . optional ( ) 
149149    . describe ( 
150150      "Process parameters (JSON string or object). Must match the process parameter schema." 
@@ -174,7 +174,7 @@ export const ExecuteProcessSyncSchema = z.object({
174174      "Unique identifier of the process to execute synchronously (UUID or slug)" 
175175    ) , 
176176  parameters : z 
177-     . union ( [ z . string ( ) ,   z . record ( z . any ( ) ) ] ) 
177+     . any ( ) 
178178    . optional ( ) 
179179    . describe ( 
180180      "Process parameters (JSON string or object). Must match the process parameter schema." 
@@ -406,7 +406,7 @@ export const processesToolDefinitions = [
406406            "Unique identifier of the process to execute asynchronously (UUID or slug)" , 
407407        } , 
408408        parameters : { 
409-           oneOf :  [ {   type : "string"   } ,   {   type :  "object"   } ] , 
409+           type : [ "string" ,   "object" ] , 
410410          description :
411411            "Process parameters (JSON string or object). Must match the process parameter schema." , 
412412        } , 
@@ -457,7 +457,7 @@ export const processesToolDefinitions = [
457457            "Unique identifier of the process to execute synchronously (UUID or slug)" , 
458458        } , 
459459        parameters : { 
460-           oneOf :  [ {   type : "string"   } ,   {   type :  "object"   } ] , 
460+           type : [ "string" ,   "object" ] , 
461461          description :
462462            "Process parameters (JSON string or object). Must match the process parameter schema." , 
463463        } , 
0 commit comments