Tool call block

Collapsible inline block for one agent tool call that expands to show its arguments, error, and result.

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

lr-tool-call-block

import '@aceshooting/lyra-ui/components/lr-tool-call-block.js';

Read guide (English)

Related components

  • Tool call chip — Compact inline pill summarising 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.
  • Tool timeline — Chronological list of an agent run's tool calls with retry counts, human-approval gating, and sensitive-field redaction.