SubagentEvidenceMessage

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

The fields of one transcript message this projection reads; richer native messages are accepted as-is.

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

Declaration

export interface SubagentEvidenceMessage  {
  readonly content?: unknown;
  readonly id: string;
  readonly role: string;
  readonly subagentRunId?: string;
  readonly toolCallId?: string;
  readonly toolCalls?: readonly {
        readonly id: string;
        readonly function: {
            readonly name: string;
            readonly arguments: string;
        };
    }[];
}

Members

content

readonly content?: unknown;

id

readonly id: string;

role

readonly role: string;

subagentRunId

Present on messages a child produced.

readonly subagentRunId?: string;

toolCallId

readonly toolCallId?: string;

toolCalls

readonly toolCalls?: readonly {
        readonly id: string;
        readonly function: {
            readonly name: string;
            readonly arguments: string;
        };
    }[];