MistralClient.Models.ToolCallFunction (mistralex_ai v0.1.0)

View Source

Represents function details in a tool call.

Summary

Functions

Create a tool call function from a map.

Convert a tool call function to a map.

Types

t()

@type t() :: %MistralClient.Models.ToolCallFunction{
  arguments: String.t(),
  name: String.t()
}

Functions

from_map(data)

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

Create a tool call function from a map.

to_map(function)

@spec to_map(t()) :: map()

Convert a tool call function to a map.