You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Executes a JavaScript script with a JSON object as input. The input JSON is available as a global variable 'inputJson'. The result of the last expression is returned.",
17
+
category: "JSON",
18
+
icon: "code",// Using 'code' icon, assuming it exists or is appropriate
19
+
inputs: [
20
+
{
21
+
name: "json",
22
+
type: "json",
23
+
description: "The JSON object to process",
24
+
required: true,
25
+
},
26
+
{
27
+
name: "script",
28
+
type: "string",
29
+
description:
30
+
"JavaScript code to execute. 'inputJson' is available globally. The last expression's result is returned.",
31
+
required: true,
32
+
},
33
+
],
34
+
outputs: [
35
+
{
36
+
name: "result",
37
+
type: "json",
38
+
description: "The result of the script execution, expected to be a JSON object or array",
39
+
},
40
+
{
41
+
name: "error",
42
+
type: "string",
43
+
description: "Error message if script execution failed",
0 commit comments