AgentToolRow
The grey card that shows one tool call in a conversation: verb, target and status, expandable in place to the raw input and output.

AgentToolRow shows that the agent did something: read a document, searched the web, wrote a file, delegated to a child. Closed, it is two lines. Open, it shows exactly what went in and what came out.

Used by

Where

How

Agent session (AgentSessionScreen)

One per transcript row of kind tool. See Session timeline

No other screen or component uses it.

Expanded: the settings symbol, "Read" and "Hypermedia Schemas", "Done" on the right, the source chip "hm doc", then "Input" and "Output" in monospace.
The same row in dark mode. The card is -exact-secondary-background, so it follows the system.

Props

Prop

Type

Effect

item

AgentChatRow

The tool call: title (verb), text (target), status, chip, toolInput, toolOutput, url, childSessionId, childTitle

follow

action

Opens a path or URL: a child session, a document, a web page

It keeps one piece of state of its own: expanded, false at first.

Anatomy

A card: margin 4 by 16, padding 12, radius 10, -exact-secondary-background, 8 point gaps (Cards and panels).

    Header button, full width, at least 44 points tall:

      symbol:settings (a gear) in secondary colour.

      The verb in -exact-subheadline and the status in -exact-caption1. They share a line and wrap when the verb is long.

      The target in -exact-footnote, secondary colour, wrapping.

    Source chip, when there is one: one word in -exact-caption1, secondary colour, saying what kind of thing was touched: "hm doc", "web", "memory", "tools", "ipfs", "activity", "attachment", "thread".

    Child link, when the tool started a child conversation: the child's title (fallback "Child conversation") in footnote with a chevron, 44 points tall.

    Detail, when expanded:

      "Input" label, then the input as indented JSON in -exact-caption1 monospace, wrapping anywhere.

      "Output" label and the output, or "Error" when the call failed. Hidden while the call is running.

      "Open source", a plain button, when the call has a target to open.

Long input or output is cut at 4000 characters and ends with "… truncated".

Variants and states

State

Status text

Detail

Running

"Running"

Input only

Finished

"Done"

Input and "Output"

Failed

"Failed"

Input and "Error"

The verb is written by the app from the tool and its result: "Read", "Listed", "Fetched", "Wrote", "Saved", "Deleted", "Downloaded", "Published", or a default such as "Search", "Web search", "Execute code", "Delegate", "Browser". The full table is in Agents: providers, models and tool summaries.

Rules for use

    One row per tool call. Calls that only update the plan or status are not shown as rows; they appear on the AgentRunCard.

    Keep it collapsed by default. The transcript is for reading the conversation.

    Use AgentContextRow for things the agent received, not things it did.

Why it looks this way

    Work looks different from speech. A squared grey card with a gear cannot be mistaken for a bubble with an 18 point radius. DESIGN.md asks for "compact disclosure rows (symbol + tool name + status)".

    A human verb, then proof. The closed row reads like a sentence, "Read Hypermedia Schemas", and the open row shows the raw call. This serves both a quick reader and someone checking what the agent really did (Honest state).

    Status is text, not colour. "Running", "Done" and "Failed" are words in the label colour, so the state does not depend on telling hues apart (Accessibility). Inferred from the absence of any colour on the status.

    Left aligned. An earlier build centred the header text (visible in final/ios-agent-session-light.png). The contract now sets text-align="start", and the agents3 screenshots show the fix.

User stories

This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Connections0
Linked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkAgentToolRowAgentToolRow
Citations 0Children & links 21

Loading child documents…

Connections show where other documents or comments link to this document.

Related documents

Loading connections…