Tool call

An AI tool-call card with args/result.

Running

Error

API reference

Inputs

PropTypeDefaultDescription
namestring'tool'Name of the invoked tool, shown as inline code in the header.
status"error" | "pending" | "running" | "success"'success'Execution status; drives the colored status dot and label.
argsstring''Tool arguments shown in the collapsible body when present.
resultstring''Tool result shown in the collapsible body when present.
argumentsLabelstringHeading of the arguments panel. Falls back to `provideBuiLabels`.
resultLabelstringHeading of the result panel. Falls back to `provideBuiLabels`.

Two-way models

Bind with [(name)], or one-way as an input.

PropTypeDefaultDescription
openbooleanfalseWhether the arguments/result panel is expanded. Two-way bindable with `[(open)]`.

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.