action apptigent_calculate_min_max { label: "Math - Calculate minimum or maximum" description: "Calculate the minimum or maximum value in a sequence of numbers" provider: apptigent method: POST path: "/CalculateMinMax" encoding: json input: { type: "object" required: ["input", "type"] properties: { input: { type: "array" description: "Colllection of values to calculate" items: { type: "number" } } type: { type: "string" description: "Minimum or Maximum" enum: ["Minimum", "Maximum"] } } } output: { type: "object" properties: { result: { type: "number" description: "Result" } } } }