Skip to content
Français

ModelToolSpec

import type { ModelToolSpec } from "@elie-laloum/outpost";
  • nameRequired
    string
    Unique tool name of 1 to 64 letters, digits, underscores or hyphens.
  • descriptionRequired
    string
    Explanation the model reads to decide when and how to call the tool.
  • inputSchemaRequired
    Readonly<Record<string, unknown>>
    JSON Schema object describing the tool arguments.
export interface ModelToolSpec {
  readonly name: string;
  readonly description: string;
  readonly inputSchema: Readonly<Record<string, unknown>>;
}