Mojentic.Examples.React.Events.InvokeToolCall (Mojentic v1.2.0)

Copy Markdown View Source

Event to trigger a tool invocation.

This event carries the information needed to execute a specific tool with given arguments, along with the reasoning behind the decision.

Summary

Types

t()

@type t() :: %Mojentic.Examples.React.Events.InvokeToolCall{
  action: Mojentic.Examples.React.Models.NextAction.t(),
  context: Mojentic.Examples.React.Models.CurrentContext.t(),
  correlation_id: String.t() | nil,
  source: module(),
  thought: String.t(),
  tool: module(),
  tool_arguments: map()
}