Module Values.ToolResultBlockStartSource

The start of a tool result block. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.

Sourcetype nonrec t = {
  1. toolUseId : ToolUseId.t option;
    (*

    The ID of the tool that was used to generate this tool result block.

    *)
  2. type_ : String_.t option;
    (*

    The type for the tool that was used to generate this tool result block.

    *)
  3. status : ToolResultStatus.t option;
    (*

    The status of the tool result block.

    *)
}
Sourceval make : ?toolUseId:??? -> ?type_:??? -> ?status:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ToolUseId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t