ToolCallInfo

Tool invocation details consumed by the default tool call card.

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

Declaration

export interface ToolCallInfo  {
  args: unknown;
  error?: unknown;
  id: string;
  label?: string;
  name: string;
  result?: unknown;
  status?: ToolCallStatus;
}

Members

args

args: unknown;

error

Literal diagnostic error, independent of result.

error?: unknown;

id

id: string;

label

App-owned readable label shown in place of the technical name, which then moves into the opened card.

label?: string;

name

name: string;

result

result?: unknown;

status

Optional — present when the parent provides it. Drives the pill + default-collapsed logic.

status?: ToolCallStatus;