ToolActivitySource
Unpublished development API. This package is under development and is not available as a published release.
An application-authored source for a confirmed tool outcome. Only absolute HTTP(S) URLs are shown. Inside a message, declared sources are listed once in its Sources panel; a standalone activity shows them as links.
import type { ToolActivitySource } from '@threadplane/react/chat';Declaration
export interface ToolActivitySource {
readonly iconUrl?: string;
readonly snippet?: string;
readonly title: string;
readonly url: string;
}Members
iconUrl
The source's own icon (absolute URL or data: URI) for the Sources panel. Never fetched or guessed by the library.
readonly iconUrl?: string;snippet
A short excerpt shown on the source's card in the Sources panel.
readonly snippet?: string;title
readonly title: string;url
readonly url: string;