@ldavis9000aws/swarmui-generator
Version:
A Model Context Protocol server for SwarmUI image generation with TypeScript
39 lines (38 loc) • 888 B
TypeScript
/**
* List Schedulers MCP Tool
* * This file contains the MCP tool definition for listing available scheduler algorithms.
*/
import { SwarmUIClient } from '../client/swarmui-client.js';
/**
* Input schema for the list_schedulers tool.
*/
export declare const listSchedulersSchema: {
description: string;
type: string;
properties: {};
required: never[];
};
/**
* Handler for the list_schedulers tool
*/
export declare function listSchedulersHandler(params: Record<string, never>, swarmui: SwarmUIClient): Promise<{
content: {
type: "text";
text: string;
}[];
_meta: {
schedulerCount: number;
error?: undefined;
};
isError?: undefined;
} | {
content: {
type: "text";
text: string;
}[];
isError: boolean;
_meta: {
error: string;
schedulerCount?: undefined;
};
}>;