@railway/mcp-server
Version:
Official Railway MCP server
38 lines (37 loc) • 967 B
TypeScript
import { CreateEnvironmentOptions } from "./environments-ZIuhjWhs.js";
import z from "zod";
//#region src/tools/create-environment.d.ts
declare const createEnvironmentTool: {
name: string;
title: string;
description: string;
inputSchema: {
workspacePath: z.ZodString;
environmentName: z.ZodString;
duplicateEnvironment: z.ZodOptional<z.ZodString>;
serviceVariables: z.ZodOptional<z.ZodArray<z.ZodObject<{
service: z.ZodString;
variable: z.ZodString;
}, "strip", z.ZodTypeAny, {
service: string;
variable: string;
}, {
service: string;
variable: string;
}>, "many">>;
};
handler: ({
workspacePath,
environmentName,
duplicateEnvironment,
serviceVariables
}: CreateEnvironmentOptions) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
//#endregion
export { createEnvironmentTool };
//# sourceMappingURL=create-environment-DI5KjO4-.d.ts.map