Chat Tool Calls
Display of tool/function call results in AI chat interfaces.
Generado a partir del código fuente público del paquete.
API
ChatToolCallPropsinterfaz
Propiedades
class?stringinput?string— Input parameters (stringified).namestring— Name of the tool/function being called.output?string— Output/result (stringified).status?ToolCallStatus— Current execution status.style?string | CSSProperties
hijos: Element
ChatToolCallsRootPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
ChatToolCallToolInputPropsinterfaz
Propiedades
class?stringcontent?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
ChatToolCallToolNamePropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
ChatToolCallToolOutputPropsinterfaz
Propiedades
class?stringcontent?string— Override output content.defaultOpen?boolean— Whether the section is initially open.style?string | CSSProperties
hijos: Element
ChatToolCallToolStatusPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
Rootcomponente
Root(props: ChatToolCallsRootProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
ToolCallcomponente
ToolCall(props: ChatToolCallProps): Element
Propiedades
class?stringinput?string— Input parameters (stringified).namestring— Name of the tool/function being called.output?string— Output/result (stringified).status?ToolCallStatus— Current execution status.style?string | CSSProperties
hijos: Element
ToolCallStatustipo
ToolInputcomponente
ToolInput(props: ChatToolCallToolInputProps): Element
Propiedades
class?stringcontent?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
ToolNamecomponente
ToolName(props: ChatToolCallToolNameProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
ToolOutputcomponente
ToolOutput(props: ChatToolCallToolOutputProps): Element
Propiedades
class?stringcontent?string— Override output content.defaultOpen?boolean— Whether the section is initially open.style?string | CSSProperties
hijos: Element
ToolStatuscomponente
ToolStatus(props: ChatToolCallToolStatusProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element