Module Values.ToolSpecSource

Specification for a tool that acts can invoke, including its name, description, and input schema.

Sourcetype nonrec t = {
  1. name : ToolName.t;
    (*

    The unique name of the tool that acts will use to invoke it.

    *)
  2. description : ToolDescription.t;
    (*

    A description of what the tool does and how it should be used.

    *)
  3. inputSchema : ToolInputSchema.t;
    (*

    The JSON schema that defines the expected input format for the tool.

    *)
}
Sourceval context_ : string
Sourceval make : name:ToolName.t -> description:ToolDescription.t -> inputSchema:ToolInputSchema.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ToolName.t | `Structure of (string * [> `Structure of 'a list ]) 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