Content_block.Tool_useTool invocation requests from the assistant.
jsont is the Jsont codec for tool use blocks. Use Jsont.Json.encode jsont and Jsont.Json.decode jsont for serialization. Use Jsont.pp_value jsont () for pretty-printing.
val create : id:string -> name:string -> input:Jsont.json -> tcreate ~id ~name ~input creates a new tool use block.
val id : t -> stringid t returns the unique identifier of the tool use.
val name : t -> stringname t returns the name of the tool being invoked.
val input : t -> Jsont.jsoninput t returns the input parameters for the tool as raw JSON.