PromptVault.Message.ToolCallMessage (PromptVault v0.1.0)

View Source

A message representing a tool or function call with arguments and response schema.

Tool call messages always have the role :tool and contain information about the tool being called, its arguments, and expected response format.

Summary

Types

t()

@type t() :: %PromptVault.Message.ToolCallMessage{
  args: map(),
  assigns: map(),
  engine: atom() | nil,
  raw: any(),
  response_schema: map() | String.t() | nil,
  role: :tool,
  template: tuple() | nil,
  tool: atom() | String.t()
}