Tool approval dialog

Human-in-the-loop gate to approve, deny or edit a proposed tool call before it runs.

Agent runs, tool calls, traces, evals, and approval flows.

lr-tool-approval-dialog

import '@aceshooting/lyra-ui/components/lr-tool-approval-dialog.js';

Read guide (English)

Related components

  • Tool call block — Collapsible inline block for one agent tool call that expands to show its arguments, error, and result.
  • Tool call chip — Compact inline pill summarizing one agent tool call's name, status, and duration.
  • Tool param form — Generates an editable form from a tool's flat JSON Schema for tweaking call arguments.
  • Tool result dialog — Modal overlay showing a tool call's status, duration, and full result detail.
  • Tool result view — Renders a tool call's result through a registered renderer, falling back to JSON.
  • Tool select dialog — Category-grouped, searchable dialog for choosing which agent tools are enabled.