Generate React component UI code using AI:
Required Parameters:
inputs: Array of input field definitionsmodel: AI model for code generationprovider: AI provider (“openai” or “anthropic”)Optional Parameters:
notes: Additional instructions for the UIcalcCode: Existing calculation code to inform generationUses AI to automatically generate React component code that creates input forms based on the activity’s input schema. Generated code can be customized as needed.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.