TranscriptToolCall
components/transcript/ToolCall.vue
One tool-call burst inside a message — collapsed to a single row (title shown verbatim, e.g. "Ran: whoami") until clicked, then expands to an indented, monospace input/content/output block plus an optional one-line summary.
Scenarios
No content block — input/output only
Overflow — output scrolls past 192px
components/transcript/ToolCall.vue
Usage
<TranscriptToolCall
title = "(required)"
summary = "—"
:details = "(required)"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | String | (required) | The collapsed row's label, shown as-is — callers supply the full phrasing (e.g. "Ran: whoami"), the component does not prepend anything. |
| summary | String | '' | Optional one-line takeaway shown below the expanded detail block. |
| details | Object | (required) | { tool: string, input: string, content?: string, output: string } — input/content/output each render as an indented, whitespace-preserving monospace block when present; content/output scroll internally past 192px. |