UNPKG

mcp-server-blk

Version:

MCP server for managing blocks schemas via API

53 lines 1.84 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const create_schema_tool = { name: 'create_schema', description: 'Create a new database schema with field definitions', inputSchema: { type: 'object', properties: { CollectionName: { type: 'string', description: 'Name of the collection', }, SchemaName: { type: 'string', description: 'Name of the schema', }, SchemaType: { type: 'number', description: 'Type of the schema (typically 1)', default: 1, }, Fields: { type: 'array', description: 'Array of field definitions', items: { type: 'object', properties: { Name: { type: 'string', description: 'Field name', }, Type: { type: 'string', description: 'Field type (String, Float, etc.)', }, IsArray: { type: 'boolean', description: 'Indicates if the field is an array', } }, required: ['Name', 'Type'], }, }, ProjectKey: { type: 'string', description: 'Project key for API access', } }, required: ['CollectionName', 'SchemaName', 'Fields', 'ProjectKey'] }, }; exports.default = create_schema_tool; //# sourceMappingURL=create_schema_tool.js.map