ToolActivityInfo

Literal evidence and optional app-authored labels for a tool activity.

import type { ToolActivityInfo } from '@threadplane/angular/chat';

Declaration

export interface ToolActivityInfo  {
  readonly argumentsText?: string;
  readonly durationMs?: number;
  readonly errorSummary?: string;
  readonly errorText?: string;
  readonly id: string;
  readonly label?: string;
  readonly name: string;
  readonly outcome?: ToolActivityOutcome;
  readonly phase?: ToolActivityPhase;
  readonly resultText?: string;
}

Members

argumentsText

readonly argumentsText?: string;

durationMs

readonly durationMs?: number;

errorSummary

readonly errorSummary?: string;

errorText

readonly errorText?: string;

id

readonly id: string;

label

readonly label?: string;

name

readonly name: string;

outcome

App-authored preview shown after explicit completion, outside technical Details.

readonly outcome?: ToolActivityOutcome;

phase

readonly phase?: ToolActivityPhase;

resultText

readonly resultText?: string;