@threadplane/chatInterfacev0.3.4

SelectPendingClientToolCallsInput

import type { SelectPendingClientToolCallsInput } from '@threadplane/chat';

Declaration

export interface SelectPendingClientToolCallsInput  {
  authoritativeIds?: ReadonlySet<string>;
  catalogNames: ReadonlySet<string>;
  isLoading: boolean;
  resolvedIds: ReadonlySet<string>;
  toolCalls: readonly ToolCall[];
}

Members

authoritativeIds

Tool-call ids the runtime itself declared unanswered at the end of the run (AG-UI 1.0 outcome.pendingToolCallIds). When present it is the authority: a call outside it is not pending even if it has no result.

authoritativeIds?: ReadonlySet<string>;

catalogNames

Client-declared tool names that should be handled in the browser.

catalogNames: ReadonlySet<string>;

isLoading

Whether the agent is currently streaming a run. Pending client tools are hidden while loading.

isLoading: boolean;

resolvedIds

Tool-call ids already resolved by the local client instance.

resolvedIds: ReadonlySet<string>;

toolCalls

Tool calls observed from the current agent state.

toolCalls: readonly ToolCall[];