Skip to content

ToolResult

stable

Formatted tool execution result with status and duration

Tool Execution/Storybook ↗
import { ToolResult } from "@nodus/design-system/patterns"
Loading demo…

Props

toolrequired
Type stringDefault

Tool name

input
Type Record<string, unknown>Default

Tool input

output
Type unknownDefault

Tool output

duration
Type numberDefault

Execution time in milliseconds

statusrequired
Type "success" | "error"Default

Execution status

error
Type stringDefault

Error message

Metadatasemantictypebordersurface
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?