@threadplane/langgraphInterfacev0.3.7

LangGraphToolProgress

Progress a running tool reported through the tools stream mode.

import type { LangGraphToolProgress } from '@threadplane/langgraph';

Declaration

export interface LangGraphToolProgress  {
  readonly data?: PlainValue;
  readonly error?: PlainValue;
  readonly input?: PlainValue;
  readonly name: string;
  readonly result?: PlainValue;
  readonly state: 'starting' | 'running' | 'completed' | 'error';
  readonly toolCallId?: string;
}

Members

data

readonly data?: PlainValue;

error

readonly error?: PlainValue;

input

readonly input?: PlainValue;

name

readonly name: string;

result

readonly result?: PlainValue;

state

readonly state: 'starting' | 'running' | 'completed' | 'error';

toolCallId

readonly toolCallId?: string;