Skip to content
Binary Dreams UI Kit reference ToolCallList

Tool call list

Controlled tool-call disclosures with status, duration, inputs, output, and changed artifacts.

Loading interactive example

Use ToolCallList for observable tool activity. Keep each closed row on one scan line when content fits. Wrap long technical values in narrow containers. Show inputs, output, and changed artifacts after expansion. On failure, state whether side effects occurred. Details remain visible throughout the close animation. Reduced motion closes the panel immediately.

API

MemberTypeKindRequiredDefault
announcementstringpropNoundefined
callsreadonly ToolCall[]propYes
emptyMessagestringpropNoundefined
expandedIdsstring[]bindingNo[]
headingLevel1 | 2 | 3 | 4 | 5 | 6propNo2
labelstringpropYes
onExpandedIdsChange(ids: string[]) => voidcallbackNoundefined

Examples

Source

Loading source