ToolGroupSummary(
self,
tools: list[ToolCallMessage] | None = None,
collapsible: listStatic| Name | Type | Description |
|---|---|---|
tools | list[ToolCallMessage] | None | Default: NoneTool widgets the summary aggregates (drives its text). May be
empty for a live group that grows via |
collapsible | list[Widget] | None | Default: NoneEvery widget hidden/shown with the group, including the tool widgets and any interleaved diff previews. |
live | bool | Default: False |
**kwargs | Any | Default: {} |
| Name | Type |
|---|---|
| tools | list[ToolCallMessage] | None |
| collapsible | list[Widget] | None |
| live | bool |
Collapsed one-line stand-in for an assistant step's tool calls.
Tools are hidden from the moment they start; this single line shows live progress ("Running 1 shell command…") and flips to the past tense ("Ran 1 shell command") once every tool finishes. Clicking the line or pressing Ctrl+O expands the underlying tool rows (and their diffs).
Two modes:
add_member as
they mount, a spinner timer animates the line and re-renders present/past
tense, and failed tools are ejected back into view so errors stay visible.live=False, used for hydration/resume): a fixed set of
completed tools rendered straight to the past tense with no timer.Purely presentational — never tracked by the message store; it is re-derived from the mounted tool widgets on each stream boundary and on hydration.
When True, animate progress and accept new members until
close. When False, render a finalized past-tense summary.
Additional arguments passed to Static.