LangEx.Tool.Node.ToolCallRequest (LangEx v0.11.3)

Copy Markdown View Source

Tool execution request passed to wrap_tool_call interceptors.

Fields:

  • :tool_call%Message.ToolCall{} from the AI message
  • :tool%LangEx.Tool{} or nil when unregistered
  • :state — current graph state
  • :store — persistent store (or nil)

Summary

Types

t()

@type t() :: %LangEx.Tool.Node.ToolCallRequest{
  state: map(),
  store: term(),
  tool: LangEx.Tool.t() | nil,
  tool_call: LangEx.Message.ToolCall.t()
}