ToolViewRenderState
typetype ToolViewRenderState<TInput, TResult> = { readonly phase: 'preparing'; readonly input: unknown; } | { readonly phase: 'running'; readonly input: TInput; } | { readonly phase: 'completed'; readonly input: TInput; readonly result: TResult; } | { readonly phase: 'failed'; readonly input: unknown; readonly message: string; }
Import
import { ToolViewRenderState } from '@modular/sdk';