Skip to main content

input_schema_for

Function input_schema_for 

Source
pub fn input_schema_for<T: JsonSchema>() -> ToolInputSchema
Expand description

Builds a tool inputSchema from the JSON Schema of T, which must describe an object (tool arguments are always a JSON object).