ClientToolResult
The outcome of running a client tool in the browser. value is whatever the
handler returned; it is handed to the agent's clientTools capability,
which carries plain data to the backend.
import type { ClientToolResult } from '@threadplane/angular/chat';Declaration
export type ClientToolResult = {
readonly ok: true;
readonly value: unknown;
} | {
readonly ok: false;
readonly error: string;
};