action apptigent_add_to_collection { label: "Collections - Add to collection" description: "Add an item to a collection" provider: apptigent method: POST path: "/AddToCollection" encoding: json input: { type: "object" required: ["input"] properties: { index: { type: "string" description: "Index position for operation (leave blank to specify end of collection)" } input: { type: "array" description: "Collection of values or objects to modify" items: { type: "string" } } item: { type: "string" description: "Item (for multiple items, leave blank and use Items)" } items: { type: "array" description: "Items (Collection, for a single item leave blank and use Item)" items: { type: "string" } } } } output: { type: "object" properties: { result: { type: "array" description: "Modified collection result" items: { type: "string" } } } } }