@threadplane/coreInterfacev0.0.0

Message

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

Owned text and source metadata; rich content and SDK objects remain outside this slice.

import type { Message } from '@threadplane/core';

Declaration

export interface Message  {
  readonly citations?: readonly Citation[];
  readonly content: string;
  readonly delivery: MessageDelivery;
  readonly id: string;
  readonly name?: string;
  readonly reasoning?: string;
  readonly role: Role;
  readonly toolCallId?: string;
  readonly toolCallIds?: readonly string[];
}

Members

citations

readonly citations?: readonly Citation[];

content

readonly content: string;

delivery

readonly delivery: MessageDelivery;

id

readonly id: string;

name

readonly name?: string;

reasoning

Backend-supplied reasoning display text.

readonly reasoning?: string;

role

readonly role: Role;

toolCallId

readonly toolCallId?: string;

toolCallIds

readonly toolCallIds?: readonly string[];