Typed convenience over elicit(string, Json): derive the form
requestedSchema from the flat struct T via jsonSchemaOf!T, send the
elicitation, and return the typed ElicitResult. On an accept, decode
the collected values with result.contentAs!T. T must be a flat struct
of scalar fields (string / number / integer / boolean / enum, optionally
Nullable) — the elicitation schema restriction (SEP-1034/1330) forbids
nested objects and arrays, enforced here at compile time.
Typed convenience over elicit(string, Json): derive the form requestedSchema from the flat struct T via jsonSchemaOf!T, send the elicitation, and return the typed ElicitResult. On an accept, decode the collected values with result.contentAs!T. T must be a flat struct of scalar fields (string / number / integer / boolean / enum, optionally Nullable) — the elicitation schema restriction (SEP-1034/1330) forbids nested objects and arrays, enforced here at compile time.