/**
* Generated by orval v7.17.0 🍺
* Do not edit manually.
* superglue AI API
* API for running superglue AI tools
* OpenAPI spec version: 1.0.0
*/
import type { ToolInputSchema } from "./toolInputSchema";
import type { ToolOutputSchema } from "./toolOutputSchema";
import type { ToolStep } from "./toolStep";
/**
* A multi-step workflow tool that executes one or more protocol-specific operations
*/
export interface Tool {
id: string;
name?: string;
/**
* Semantic version string (major.minor.patch)
* @pattern ^\d+\.\d+\.\d+$
*/
version?: string;
/** Human-readable instruction describing what the tool does */
instruction?: string;
/** JSON Schema for tool inputs */
inputSchema?: ToolInputSchema;
/** JSON Schema for tool outputs (after transformations applied) */
outputSchema?: ToolOutputSchema;
/**
* Ordered execution steps that make up this tool
* @minItems 1
*/
steps: ToolStep[];
/** JavaScript function for final output transformation.
Format: (sourceData) => expression
*/
outputTransform?: string;
createdAt?: string;
updatedAt?: string;
}