Skip to main content

InlineWeatherCardProps

Agent Runtimes


Agent Runtimes / chat/InlineWeatherCard / InlineWeatherCardProps

Interface: InlineWeatherCardProps

Defined in: examples/ag-ui/weather/InlineWeatherCard.tsx:34

Props for InlineWeatherCard Status aligned with CopilotKit's useRenderToolCall pattern

Properties

error?

optional error?: string

Defined in: examples/ag-ui/weather/InlineWeatherCard.tsx:48

Error message if status is 'error'


location?

optional location?: string

Defined in: examples/ag-ui/weather/InlineWeatherCard.tsx:36

Location being queried


result?

optional result?: WeatherResult

Defined in: examples/ag-ui/weather/InlineWeatherCard.tsx:38

Weather result data


status

status: "executing" | "inProgress" | "complete" | "error"

Defined in: examples/ag-ui/weather/InlineWeatherCard.tsx:46

Current status:

  • 'inProgress': Arguments are being streamed
  • 'executing': Tool is executing on backend
  • 'complete': Tool completed successfully
  • 'error': Tool execution failed