SessionSubagentOptions

Unpublished development API. This package is under development and is not available as a published release.

App-authored presentation for the children's own tool calls.

import type { SessionSubagentOptions } from '@threadplane/react/chat';

Declaration

export interface SessionSubagentOptions  {
  readonly toolLabel?: (name: string, args?: unknown) => string | undefined;
  readonly toolOutcome?: (activity: ToolActivityInfo) => ToolActivityOutcome | undefined;
}

Members

toolLabel

readonly toolLabel?: (name: string, args?: unknown) => string | undefined;

toolOutcome

readonly toolOutcome?: (activity: ToolActivityInfo) => ToolActivityOutcome | undefined;