UNPKG

@ldavis9000aws/swarmui-generator

Version:

A Model Context Protocol server for SwarmUI image generation with TypeScript

125 lines (124 loc) 3.23 kB
/** * Tool exports for the SwarmUI MCP Server */ import { generateImagesHandler } from './generate-images.js'; import { listModelsHandler } from './list-models.js'; import { listSchedulersHandler } from './list-schedulers.js'; import { systemStatusHandler } from './system-status.js'; export declare const tools: ({ name: string; description: string; schema: { description: string; type: string; properties: { prompt: { type: string; description: string; }; negative_prompt: { type: string; description: string; }; width: { type: string; minimum: number; maximum: number; description: string; }; height: { type: string; minimum: number; maximum: number; description: string; }; guidance_scale: { type: string; minimum: number; maximum: number; description: string; }; num_inference_steps: { type: string; minimum: number; maximum: number; description: string; }; num_images: { type: string; minimum: number; maximum: number; description: string; }; seed: { type: string; description: string; }; model_name: { type: string; description: string; }; scheduler: { type: string; description: string; }; }; required: string[]; }; handler: typeof generateImagesHandler; } | { name: string; description: string; schema: { description: string; type: string; properties: { path: { type: string; description: string; }; depth: { type: string; description: string; }; subtype: { type: string; description: string; }; sortBy: { type: string; description: string; }; sortReverse: { type: string; description: string; }; allowRemote: { type: string; description: string; }; }; required: never[]; }; handler: typeof listModelsHandler; } | { name: string; description: string; schema: { description: string; type: string; properties: {}; required: never[]; }; handler: typeof listSchedulersHandler; } | { name: string; description: string; schema: { description: string; type: string; properties: {}; required: never[]; }; handler: typeof systemStatusHandler; })[];