Module Values.CallSource

A request for the client to execute a specific tool with given parameters.

Sourcetype nonrec t = {
  1. callId : CallId.t option;
    (*

    A unique identifier for this tool call, used to match results back to requests.

    *)
  2. input : SensitiveDocument.t option;
    (*

    The input parameters for the tool call, formatted according to the tool's schema.

    *)
  3. name : String_.t option;
    (*

    The name of the tool to invoke, following the pattern 'tool.{toolName}' or 'browser.{browserAction}'.

    *)
}
Sourceval make : ?callId:??? -> ?input:??? -> ?name:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CallId.t | `Structure of 'a list ]) 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