BetaBeta pública — Consulta las notas de lanzamiento
Documentación

Chat Tool Calls

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

Paquete
@solidiom/chat-tool-calls
Versión
0.6.0
Estado
experimental

Generado a partir del código fuente público del paquete.

API

ChatToolCallPropsinterfaz

Propiedades

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

hijos: Element

Ver código fuente

ChatToolCallsRootPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

ChatToolCallToolInputPropsinterfaz

Propiedades

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

hijos: Element

Ver código fuente

ChatToolCallToolNamePropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

ChatToolCallToolOutputPropsinterfaz

Propiedades

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

hijos: Element

Ver código fuente

ChatToolCallToolStatusPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

Rootcomponente

                        Root(props: ChatToolCallsRootProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

ToolCallcomponente

                        ToolCall(props: ChatToolCallProps): Element
                      

Propiedades

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

hijos: Element

Ver código fuente

ToolCallStatustipo

Ver código fuente

ToolInputcomponente

                        ToolInput(props: ChatToolCallToolInputProps): Element
                      

Propiedades

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

hijos: Element

Ver código fuente

ToolNamecomponente

                        ToolName(props: ChatToolCallToolNameProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

ToolOutputcomponente

                        ToolOutput(props: ChatToolCallToolOutputProps): Element
                      

Propiedades

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

hijos: Element

Ver código fuente

ToolStatuscomponente

                        ToolStatus(props: ChatToolCallToolStatusProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente