@threadplane/coreInterfacev0.3.7

ClientToolSpec

One client tool as the model sees it: a name, a description and a JSON Schema for its arguments.

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

Declaration

export interface ClientToolSpec  {
  readonly description: string;
  readonly name: string;
  readonly parameters: Readonly<Record<string, PlainValue>>;
}

Members

description

readonly description: string;

name

readonly name: string;

parameters

JSON Schema for the arguments, as plain data.

readonly parameters: Readonly<Record<string, PlainValue>>;