GenAI.Dialogue.ApprovalScript (GenAI Core v0.3.3)

Copy Markdown

Build a minimal genai_approval script that performs a single tool call.

Product adapters pass endpoint alias, tool name, and finalized string-keyed args.

Summary

Functions

Render script source for one step: call(endpoint, tool, args...).

Functions

single_tool(endpoint, tool, args, opts \\ [])

@spec single_tool(String.t(), String.t(), map(), keyword()) :: String.t()

Render script source for one step: call(endpoint, tool, args...).

Args values must be binaries, numbers, or booleans (embedded as literals).