solidworks-mcp-server
Version:
Clean Architecture SolidWorks MCP Server - Production-ready with SOLID principles
156 lines • 6.94 kB
TypeScript
import { z } from 'zod';
/**
* VBA Generation for File Management and PDM Operations
* Comprehensive file operations, batch processing, and PDM integration
*/
export declare const fileManagementVBATools: ({
name: string;
description: string;
inputSchema: z.ZodObject<{
operation: z.ZodEnum<["open_all", "save_all", "export_all", "convert_format", "update_references", "pack_and_go", "rename_files"]>;
sourcePath: z.ZodString;
destinationPath: z.ZodOptional<z.ZodString>;
fileFilter: z.ZodOptional<z.ZodString>;
exportFormat: z.ZodOptional<z.ZodEnum<["step", "iges", "stl", "pdf", "dwg", "parasolid"]>>;
includeSubfolders: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
}, "strip", z.ZodTypeAny, {
operation: "open_all" | "save_all" | "export_all" | "convert_format" | "update_references" | "pack_and_go" | "rename_files";
sourcePath: string;
includeSubfolders: boolean;
options?: Record<string, any> | undefined;
destinationPath?: string | undefined;
fileFilter?: string | undefined;
exportFormat?: "step" | "iges" | "stl" | "pdf" | "dwg" | "parasolid" | undefined;
}, {
operation: "open_all" | "save_all" | "export_all" | "convert_format" | "update_references" | "pack_and_go" | "rename_files";
sourcePath: string;
options?: Record<string, any> | undefined;
destinationPath?: string | undefined;
fileFilter?: string | undefined;
exportFormat?: "step" | "iges" | "stl" | "pdf" | "dwg" | "parasolid" | undefined;
includeSubfolders?: boolean | undefined;
}>;
handler: (args: any) => string;
} | {
name: string;
description: string;
inputSchema: z.ZodObject<{
operation: z.ZodEnum<["add", "modify", "delete", "copy", "export", "import"]>;
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
value: z.ZodString;
type: z.ZodOptional<z.ZodEnum<["text", "date", "number", "yesno"]>>;
configuration: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
value: string;
name: string;
type?: "number" | "date" | "text" | "yesno" | undefined;
configuration?: string | undefined;
}, {
value: string;
name: string;
type?: "number" | "date" | "text" | "yesno" | undefined;
configuration?: string | undefined;
}>, "many">>;
sourcePath: z.ZodOptional<z.ZodString>;
templatePath: z.ZodOptional<z.ZodString>;
exportFormat: z.ZodOptional<z.ZodEnum<["excel", "csv", "xml"]>>;
}, "strip", z.ZodTypeAny, {
operation: "delete" | "export" | "modify" | "copy" | "add" | "import";
properties?: {
value: string;
name: string;
type?: "number" | "date" | "text" | "yesno" | undefined;
configuration?: string | undefined;
}[] | undefined;
templatePath?: string | undefined;
sourcePath?: string | undefined;
exportFormat?: "excel" | "csv" | "xml" | undefined;
}, {
operation: "delete" | "export" | "modify" | "copy" | "add" | "import";
properties?: {
value: string;
name: string;
type?: "number" | "date" | "text" | "yesno" | undefined;
configuration?: string | undefined;
}[] | undefined;
templatePath?: string | undefined;
sourcePath?: string | undefined;
exportFormat?: "excel" | "csv" | "xml" | undefined;
}>;
handler: (args: any) => string;
} | {
name: string;
description: string;
inputSchema: z.ZodObject<{
operation: z.ZodEnum<["check_in", "check_out", "get_latest", "add_file", "change_state", "search", "copy_tree"]>;
vaultName: z.ZodString;
filePath: z.ZodOptional<z.ZodString>;
comment: z.ZodOptional<z.ZodString>;
stateName: z.ZodOptional<z.ZodString>;
searchCriteria: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
includeChildren: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
vaultName: string;
operation: "search" | "check_in" | "check_out" | "get_latest" | "add_file" | "change_state" | "copy_tree";
includeChildren: boolean;
filePath?: string | undefined;
comment?: string | undefined;
stateName?: string | undefined;
searchCriteria?: Record<string, string> | undefined;
}, {
vaultName: string;
operation: "search" | "check_in" | "check_out" | "get_latest" | "add_file" | "change_state" | "copy_tree";
filePath?: string | undefined;
comment?: string | undefined;
stateName?: string | undefined;
searchCriteria?: Record<string, string> | undefined;
includeChildren?: boolean | undefined;
}>;
handler: (args: any) => string;
} | {
name: string;
description: string;
inputSchema: z.ZodObject<{
operation: z.ZodEnum<["create", "update", "export", "import", "link_excel"]>;
tableName: z.ZodString;
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
type: z.ZodEnum<["dimension", "feature", "component", "custom_property"]>;
configurations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
}, "strip", z.ZodTypeAny, {
type: "dimension" | "feature" | "component" | "custom_property";
name: string;
configurations?: Record<string, any> | undefined;
}, {
type: "dimension" | "feature" | "component" | "custom_property";
name: string;
configurations?: Record<string, any> | undefined;
}>, "many">>;
excelPath: z.ZodOptional<z.ZodString>;
linkToExternal: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
tableName: string;
operation: "export" | "create" | "import" | "update" | "link_excel";
parameters?: {
type: "dimension" | "feature" | "component" | "custom_property";
name: string;
configurations?: Record<string, any> | undefined;
}[] | undefined;
excelPath?: string | undefined;
linkToExternal?: boolean | undefined;
}, {
tableName: string;
operation: "export" | "create" | "import" | "update" | "link_excel";
parameters?: {
type: "dimension" | "feature" | "component" | "custom_property";
name: string;
configurations?: Record<string, any> | undefined;
}[] | undefined;
excelPath?: string | undefined;
linkToExternal?: boolean | undefined;
}>;
handler: (args: any) => string;
})[];
//# sourceMappingURL=vba-file-management.d.ts.map