MistralClient.Models.Beta.Tool (mistralex_ai v0.1.0)

View Source

Represents a tool that can be used by agents.

Summary

Functions

Create a Tool struct from a map.

Types

t()

@type t() :: %MistralClient.Models.Beta.Tool{
  function: MistralClient.Models.Beta.ToolFunction.t() | nil,
  type: String.t()
}

Functions

from_map(data)

@spec from_map(map()) :: t()

Create a Tool struct from a map.