pub fn schema_to_clap_args(
schema: &Value,
) -> Result<SchemaArgs, SchemaParserError>Expand description
Translate a JSON Schema properties map into a SchemaArgs result.
Each schema property becomes one --<name> flag with:
helpset to the property’sx-llm-descriptionordescriptionfieldrequiredset when the property appears in the schema’srequiredarray- enum variants and boolean pairs deferred to later tasks
§Arguments
schema— JSON Schema object (may have"properties"key)
Returns empty SchemaArgs for schemas without properties.