MingaAgent.ToolApproval (Minga v0.1.0)

Copy Markdown View Source

Pending tool approval data.

When a tool requires user confirmation before execution, this struct captures the tool call identity and the reply-to PID for the blocked Task process. Flows from Agent.Session through editor state, input handling, chat decorations, and GUI protocol encoding.

Summary

Types

t()

A pending tool approval.

Types

t()

@type t() :: %MingaAgent.ToolApproval{
  args: map(),
  name: String.t(),
  reply_to: pid() | nil,
  tool_call_id: String.t()
}

A pending tool approval.