@tiberriver256/mcp-server-azure-devops
Version:
Azure DevOps reference server for the Model Context Protocol (MCP)
30 lines • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ListWikiPagesSchema = void 0;
const zod_1 = require("zod");
const environment_1 = require("../../../utils/environment");
/**
* Schema for listing wiki pages from an Azure DevOps wiki
*/
exports.ListWikiPagesSchema = zod_1.z.object({
organizationId: zod_1.z
.string()
.optional()
.nullable()
.describe(`The ID or name of the organization (Default: ${environment_1.defaultOrg})`),
projectId: zod_1.z
.string()
.optional()
.nullable()
.describe(`The ID or name of the project (Default: ${environment_1.defaultProject})`),
wikiId: zod_1.z.string().describe('The ID or name of the wiki'),
path: zod_1.z.string().optional().describe('Optional path within the wiki'),
recursionLevel: zod_1.z
.number()
.int()
.min(1)
.max(50)
.optional()
.describe('Optional recursion depth (1-50)'),
});
//# sourceMappingURL=schema.js.map