pub fn parameters_schema<T: JsonSchema>() -> ValueExpand description
Generate a JSON schema for tool parameters that’s OpenAI-compatible.
OpenAI tool schemas require the required array to list every property.
pub fn parameters_schema<T: JsonSchema>() -> ValueGenerate a JSON schema for tool parameters that’s OpenAI-compatible.
OpenAI tool schemas require the required array to list every property.