@threadplane/chatInterfacev0.3.7

ToolOutcomeCall

What a per-tool decoder receives: the call's parsed arguments and result beside the literal activity.

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

Declaration

export interface ToolOutcomeCall  {
  readonly activity: ToolActivityInfo;
  readonly args: unknown;
  readonly result: unknown;
}

Members

activity

readonly activity: ToolActivityInfo;

args

Parsed JSON arguments, or undefined when they are not valid JSON.

readonly args: unknown;

result

Parsed JSON result, or the literal result text when it is not JSON.

readonly result: unknown;