InlineWeatherCardProps
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?
optionalerror?:string
Defined in: examples/ag-ui/weather/InlineWeatherCard.tsx:48
Error message if status is 'error'
location?
optionallocation?:string
Defined in: examples/ag-ui/weather/InlineWeatherCard.tsx:36
Location being queried
result?
optionalresult?: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