/**
 * Tool calls — assistant-initiated function/tool invocations during a turn.
 */

export interface ChatToolCall {
  id: string;
  name: string;
  input: unknown;
  output?: unknown;
  /** Live buffer accumulated during streaming. Replaced by `output` on completion. */
  streamingText?: string;
  status: 'running' | 'success' | 'error' | 'cancelled';
  startedAt: number;
  endedAt?: number;
  /** Optional grouping label for parallel/fan-out execution. */
  sourceHostname?: string;
}
