@maxhealth.tech/prefab / mcp / formSchema
Function: formSchema()
ts
function formSchema(fields): McpRestrictedSchema;Defined in: mcp/input-required.ts:142
Derive the restricted elicitation schema from form fields.
This is the same field list autoForm renders, so the elicitation and the prefab form always ask for the same thing.
Parameters
| Parameter | Type |
|---|---|
fields | AutoFormField[] |