action apptigent_trim_string { label: "Text - Trim string" description: "Trim leading or trailing whitespace from a string" provider: apptigent method: POST path: "/TrimString" encoding: json input: { type: "object" required: ["source", "type"] properties: { source: { type: "string" description: "String containing the text to be trimmed" } type: { type: "string" description: "Type of white space to remove" enum: ["Start", "End", "Both"] } } } output: { type: "object" properties: { result: { type: "string" description: "Result" } } } }