OCaml Claude SDK using Eio and Jsont

odoc

+4 -4
+1 -1
lib/hooks.mli
··· 115 115 tool_response : Jsont.json; (* Response varies by tool *) 116 116 } 117 117 (** Input provided to PostToolUse hooks. 118 - Note: [tool_response] remains as {!Jsont.json} since response schemas 118 + Note: [tool_response] remains as {!type:Jsont.json} since response schemas 119 119 vary by tool. *) 120 120 121 121 (** {2 Output} *)
+2 -2
lib/structured_output.mli
··· 23 23 24 24 {2 Creating Output Formats} 25 25 26 - Use {!of_json_schema} to specify a JSON Schema as a {!Jsont.json} value: 26 + Use {!of_json_schema} to specify a JSON Schema as a {!type:Jsont.json} value: 27 27 {[ 28 28 let meta = Jsont.Meta.none in 29 29 let schema = Jsont.Object ([ ··· 122 122 val of_json_schema : Jsont.json -> t 123 123 (** [of_json_schema schema] creates an output format from a JSON Schema. 124 124 125 - The schema should be a valid JSON Schema Draft 7 as a {!Jsont.json} value. 125 + The schema should be a valid JSON Schema Draft 7 as a {!type:Jsont.json} value. 126 126 127 127 Example: 128 128 {[
+1 -1
proto/structured_output.mli
··· 23 23 val of_json_schema : Jsont.json -> t 24 24 (** [of_json_schema schema] creates an output format from a JSON Schema. 25 25 26 - The schema should be a valid JSON Schema Draft 7 as a {!Jsont.json} value. 26 + The schema should be a valid JSON Schema Draft 7 as a {!type:Jsont.json} value. 27 27 28 28 Example: 29 29 {[