Show a call a model made to a tool, running, done or failed, opening to its input & output, built on Base UI.
View as MarkdownInstallation
Component API
| Prop | Type | Default | Description |
|---|---|---|---|
name | string | - | The tool's name, such as search_files. |
The tool's name, such as search_files. | |||
summary | string | - | What it was asked, in a few words, beside the name. |
| What it was asked, in a few words, beside the name. | |||
state | running | done | failed | done | Where it is: running, done or failed. |
| Where it is: running, done or failed. | |||
input | string | - | What it was given, shown when the card is open. |
| What it was given, shown when the card is open. | |||
output | string | - | What it gave back, or the error, shown when the card is open. |
| What it gave back, or the error, shown when the card is open. | |||
icon | ReactNode | - | A glyph for the tool. |
| A glyph for the tool. | |||
defaultOpen | boolean | false | Open on its input and output at the start. |
| Open on its input and output at the start. | |||
shape | none | rounded | pill | rounded | |
className | string | - | |
focus | boolean | string | true | |