{ "type": "object", "properties": { "input": {"title": "input query string", "type": "string"}, }, "required": ["input"], }
schema_dict = pydanitc_model.model_json_schema() parameters = { k: v for k, v in parameters.items() if k in ["type", "properties", "required", "definitions", "$defs"] }