Elements

Reference

AI Tool

A tool call: the shared collapsible as the vessel — the name it was reached by and the state it reached in on the trigger, its input and output folded inside.

Actions · Attachment · Attachments · CodeBody · CodeCopy · Content · Conversation · Loader · Message · Prompt · PromptEnd · PromptFooter · PromptHeader · PromptLeading · PromptMain · PromptTrailing · ReasoningContent · Response · Root · Source · Sources · Textarea · ToolBody · ToolLabel · ToolStatus · Trigger

#AiTool

A tool call: the shared collapsible as the vessel — the name it was reached by and the state it reached in on the trigger, its input and output folded inside.

PropTypeDefaultDescription
nameStringThe name the tool was reached by — shown raw on the trigger unless the label slot speaks friendlier words.
statusString as PropType<"pending" | "running" | "completed" | "error">The state the call reached — pending, running, completed, or error; stamped on the fold and whispered in the status chip.
defaultOpenBooleanfalseThe fold arrives open when set — rides the shared collapsible.
Slot
#input
#label
#output