Skip to content
Back

Tool callPro

Tool call rows for agent transcripts: the tool's mark and the call in plain words, a live state while it runs, Input and Output a click away (list, table, JSON or text), with approval and retry when needed.

oxyn add tool-call-transcript
Input
repo
acme/billing
query
is:open label:billing
Output
  1. 1Usage meter drops events on retry#412
  2. 2Invoice PDF shows wrong currency#398
  3. 3Proration rounds the wrong way#377
  4. 4Add usage alerts#350
  5. 5Seats sync lags by a day#341
Posts a 6-line summary to #release (42 members).
The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • Tool call rows for agent transcripts.
  • Each row shows the tool's mark (from the tool-kind map; MCP names keep their server), the call in plain words with a phrase per status (running uses running_title or the map's present verb and shimmers), quiet meta (results / rows derived from the output) and the duration, and its status.
  • A call awaiting approval sits on a warning outline with a message (“Posts a 6-line summary…”) and Deny / Allow; an error shows the reason and Retry; denied reads Denied.
  • Input (mono key/value list) and Output (numbered list with tags, table, tinted JSON, or text; lists and tables fold after five rows with Show n more) are a click away.

When not to use

  • An agent asks before it acts: use Approval Card instead.
  • Several open requests in one card: use Approval pager instead.
  • An agent's question in its own card above the composer: use Decision Card instead.

Installation

Tool call is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

Terminal
oxyn add tool-call-transcript

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Approval

A call waits for Allow / Deny on a warning outline.

Input
repo
acme/billing
query
is:open label:billing
Output
  1. 1Usage meter drops events on retry#412
  2. 2Invoice PDF shows wrong currency#398
  3. 3Proration rounds the wrong way#377
  4. 4Add usage alerts#350
  5. 5Seats sync lags by a day#341
Posts a 6-line summary to #release (42 members).
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Settled

Four settled calls; folds itself 450 ms later.

Input
repo
acme/billing
query
is:open label:billing
Output
  1. 1Usage meter drops events on retry#412
  2. 2Invoice PDF shows wrong currency#398
  3. 3Proration rounds the wrong way#377
  4. 4Add usage alerts#350
  5. 5Seats sync lags by a day#341
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Error

Rate limited: the reason and Retry.

Input
repo
acme/billing
query
is:open label:billing
Output
  1. 1Usage meter drops events on retry#412
  2. 2Invoice PDF shows wrong currency#398
  3. 3Proration rounds the wrong way#377
  4. 4Add usage alerts#350
  5. 5Seats sync lags by a day#341
Slack returned 429: rate limited, retry in 30s.
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Table

Table output folding after five rows.

Input
repo
acme/billing
query
is:open label:billing
Output
idemailplan
1user1@acme.devpro
2user2@acme.devpro
3user3@acme.devteam
4user4@acme.devpro
5user5@acme.devpro
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Running

Using tools… with the title shimmering.

Input
repo
acme/billing
query
is:open label:billing
Output
  1. 1Usage meter drops events on retry#412
  2. 2Invoice PDF shows wrong currency#398
  3. 3Proration rounds the wrong way#377
  4. 4Add usage alerts#350
  5. 5Seats sync lags by a day#341
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

ToolCallList

PropTypeDefaultDescription
toolsrequiredVec<String>—Raw tool names of the calls (marks and count).
total_msu64Default::default()Total duration ms.
activeboolDefault::default()The agent is still working in this turn.
openrequiredbool—Open.
on_openEventHandler<bool>—Header toggled.
childrenrequiredElement—The rows.

ToolCall

PropTypeDefaultDescription
toolrequiredString—Raw tool name (drives the kind icon and default verbs).
titlerequiredString—Settled phrase ("Searched issues in arc-ui/web").
running_titleOption<String>Default::default()Running phrase.
statusrequiredCallStatus—Status.
messageOption<String>Default::default()One line under the title (error reason, or what allowing will do).
inputVec<(String, String)>Default::default()Input key/values.
outputOption<RowOutput>Default::default()Output.
duration_msOption<u64>Default::default()Duration ms.
openboolDefault::default()Open.
on_toggleEventHandler<()>—Toggle.
on_allowEventHandler<()>—Allow (approval).
on_denyEventHandler<()>—Deny (approval).
on_retryEventHandler<()>—Retry (error).

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabGroup header, each row, Allow / Deny / Retry, show more
EnterorSpaceOpen the group or a row's Input and Output

Accessibility

  • Rows are buttons with aria-expanded; the input is a definition list.
  • Approval and error messages are text under the title.
From the spec
  • Rows are buttons with aria-expanded; the input is a dl; messages are text.

Motion & interaction

Timing
  • Rows stagger in 20 ms apart with a 5 px settle; the I/O well rises in.
  • Reduced motion: no entrance rise or row stagger, no shimmer (static muted text), chevrons and the card morph jump to their end state.

Responsive behaviour

  • Titles truncate; tables scroll inside their well.
Edge cases (spec)
  • Titles truncate; the I/O well indents under the mark.

Notes for AI

  • Import ToolCallList, ToolCall from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: ToolCallEl in oxyn_gpui.
  • Props to set first: tools, open, children, tool, title, status.
  • It reads a clock (now) for live timers; pass one clock for the whole page rather than one per component.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI