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- repo
- acme/billing
- query
- is:open label:billing
- 1Usage meter drops events on retry#412
- 2Invoice PDF shows wrong currency#398
- 3Proration rounds the wrong way#377
- 4Add usage alerts#350
- 5Seats sync lags by a day#341
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.
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.
oxyn add tool-call-transcriptUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Approval
A call waits for Allow / Deny on a warning outline.
- repo
- acme/billing
- query
- is:open label:billing
- 1Usage meter drops events on retry#412
- 2Invoice PDF shows wrong currency#398
- 3Proration rounds the wrong way#377
- 4Add usage alerts#350
- 5Seats sync lags by a day#341
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Settled
Four settled calls; folds itself 450 ms later.
- repo
- acme/billing
- query
- is:open label:billing
- 1Usage meter drops events on retry#412
- 2Invoice PDF shows wrong currency#398
- 3Proration rounds the wrong way#377
- 4Add usage alerts#350
- 5Seats sync lags by a day#341
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Error
Rate limited: the reason and Retry.
- repo
- acme/billing
- query
- is:open label:billing
- 1Usage meter drops events on retry#412
- 2Invoice PDF shows wrong currency#398
- 3Proration rounds the wrong way#377
- 4Add usage alerts#350
- 5Seats sync lags by a day#341
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Table
Table output folding after five rows.
- repo
- acme/billing
- query
- is:open label:billing
| id | plan | |
|---|---|---|
| 1 | user1@acme.dev | pro |
| 2 | user2@acme.dev | pro |
| 3 | user3@acme.dev | team |
| 4 | user4@acme.dev | pro |
| 5 | user5@acme.dev | pro |
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Running
Using tools… with the title shimmering.
- repo
- acme/billing
- query
- is:open label:billing
- 1Usage meter drops events on retry#412
- 2Invoice PDF shows wrong currency#398
- 3Proration rounds the wrong way#377
- 4Add usage alerts#350
- 5Seats sync lags by a day#341
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
ToolCallList
| Prop | Type | Default | Description |
|---|---|---|---|
toolsrequired | Vec<String> | — | Raw tool names of the calls (marks and count). |
total_ms | u64 | Default::default() | Total duration ms. |
active | bool | Default::default() | The agent is still working in this turn. |
openrequired | bool | — | Open. |
on_open | EventHandler<bool> | — | Header toggled. |
childrenrequired | Element | — | The rows. |
ToolCall
| Prop | Type | Default | Description |
|---|---|---|---|
toolrequired | String | — | Raw tool name (drives the kind icon and default verbs). |
titlerequired | String | — | Settled phrase ("Searched issues in arc-ui/web"). |
running_title | Option<String> | Default::default() | Running phrase. |
statusrequired | CallStatus | — | Status. |
message | Option<String> | Default::default() | One line under the title (error reason, or what allowing will do). |
input | Vec<(String, String)> | Default::default() | Input key/values. |
output | Option<RowOutput> | Default::default() | Output. |
duration_ms | Option<u64> | Default::default() | Duration ms. |
open | bool | Default::default() | Open. |
on_toggle | EventHandler<()> | — | Toggle. |
on_allow | EventHandler<()> | — | Allow (approval). |
on_deny | EventHandler<()> | — | Deny (approval). |
on_retry | EventHandler<()> | — | Retry (error). |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | Group header, each row, Allow / Deny / Retry, show more |
| EnterorSpace | Open 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,ToolCallfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
ToolCallElinoxyn_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.