action apptigent_convert_weight { label: "Math - Convert weight" description: "Convert value from one weight measurement to another" provider: apptigent method: POST path: "/ConvertWeight" encoding: json input: { type: "object" required: ["input", "source", "target"] properties: { input: { type: "number" } source: { type: "string" enum: ["Centigram", "Decagram", "Decigram", "Grain", "Gram", "Hectogram", "Kilogram", "Microgram", "Milligram", "Nanogram", "Ounce", "Pound", "Stone", "Solar Mass", "Earth Mass", "Slug", "Short Ton", "Long Ton", "Ton", "Megaton", "Short Hundredweight", "Long Hundredweight"] } target: { type: "string" enum: ["Centigram", "Decagram", "Decigram", "Grain", "Gram", "Hectogram", "Kilogram", "Microgram", "Milligram", "Nanogram", "Ounce", "Pound", "Stone", "Ton"] } } } output: { type: "object" properties: { result: { type: "number" description: "Result" } } } }