BetaPublic beta — Read the release notes
Documentation

Chat Tool Calls

Display of tool/function call results in AI chat interfaces.

Package
@solidiom/chat-tool-calls
Version
0.6.0
Status
experimental

Generated from the package's public source.

API

ChatToolCallPropsinterface

Props

class?
string
input?
string — Input parameters (stringified).
name
string — Name of the tool/function being called.
output?
string — Output/result (stringified).
status?
ToolCallStatus — Current execution status.
style?
string | CSSProperties

children: Element

View source

ChatToolCallsRootPropsinterface

Props

class?
string
style?
string | CSSProperties

children: Element

View source

ChatToolCallToolInputPropsinterface

Props

class?
string
content?
string — Override input content. If not provided, reads from ToolCall props context is not available directly.
defaultOpen?
boolean — Whether the section is initially open.
style?
string | CSSProperties

children: Element

View source

ChatToolCallToolNamePropsinterface

Props

class?
string
style?
string | CSSProperties

children: Element

View source

ChatToolCallToolOutputPropsinterface

Props

class?
string
content?
string — Override output content.
defaultOpen?
boolean — Whether the section is initially open.
style?
string | CSSProperties

children: Element

View source

ChatToolCallToolStatusPropsinterface

Props

class?
string
style?
string | CSSProperties

children: Element

View source

Rootcomponent

                        Root(props: ChatToolCallsRootProps): Element
                      

Props

class?
string
style?
string | CSSProperties

children: Element

View source

ToolCallcomponent

                        ToolCall(props: ChatToolCallProps): Element
                      

Props

class?
string
input?
string — Input parameters (stringified).
name
string — Name of the tool/function being called.
output?
string — Output/result (stringified).
status?
ToolCallStatus — Current execution status.
style?
string | CSSProperties

children: Element

View source

ToolCallStatustype

View source

ToolInputcomponent

                        ToolInput(props: ChatToolCallToolInputProps): Element
                      

Props

class?
string
content?
string — Override input content. If not provided, reads from ToolCall props context is not available directly.
defaultOpen?
boolean — Whether the section is initially open.
style?
string | CSSProperties

children: Element

View source

ToolNamecomponent

                        ToolName(props: ChatToolCallToolNameProps): Element
                      

Props

class?
string
style?
string | CSSProperties

children: Element

View source

ToolOutputcomponent

                        ToolOutput(props: ChatToolCallToolOutputProps): Element
                      

Props

class?
string
content?
string — Override output content.
defaultOpen?
boolean — Whether the section is initially open.
style?
string | CSSProperties

children: Element

View source

ToolStatuscomponent

                        ToolStatus(props: ChatToolCallToolStatusProps): Element
                      

Props

class?
string
style?
string | CSSProperties

children: Element

View source