@umbraco-cms/mcp-dev 17.1.0 → 17.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +135 -128
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1643 -1636
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -4721,6 +4721,7 @@ var require_pattern = __commonJS({
|
|
|
4721
4721
|
"use strict";
|
|
4722
4722
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4723
4723
|
var code_1 = require_code2();
|
|
4724
|
+
var util_1 = require_util();
|
|
4724
4725
|
var codegen_1 = require_codegen();
|
|
4725
4726
|
var error = {
|
|
4726
4727
|
message: ({ schemaCode }) => (0, codegen_1.str)`must match pattern "${schemaCode}"`,
|
|
@@ -4733,10 +4734,18 @@ var require_pattern = __commonJS({
|
|
|
4733
4734
|
$data: true,
|
|
4734
4735
|
error,
|
|
4735
4736
|
code(cxt) {
|
|
4736
|
-
const { data, $data, schema, schemaCode, it } = cxt;
|
|
4737
|
+
const { gen, data, $data, schema, schemaCode, it } = cxt;
|
|
4737
4738
|
const u = it.opts.unicodeRegExp ? "u" : "";
|
|
4738
|
-
|
|
4739
|
-
|
|
4739
|
+
if ($data) {
|
|
4740
|
+
const { regExp } = it.opts.code;
|
|
4741
|
+
const regExpCode = regExp.code === "new RegExp" ? (0, codegen_1._)`new RegExp` : (0, util_1.useFunc)(gen, regExp);
|
|
4742
|
+
const valid = gen.let("valid");
|
|
4743
|
+
gen.try(() => gen.assign(valid, (0, codegen_1._)`${regExpCode}(${schemaCode}, ${u}).test(${data})`), () => gen.assign(valid, false));
|
|
4744
|
+
cxt.fail$data((0, codegen_1._)`!${valid}`);
|
|
4745
|
+
} else {
|
|
4746
|
+
const regExp = (0, code_1.usePattern)(cxt, schema);
|
|
4747
|
+
cxt.fail$data((0, codegen_1._)`!${regExp}.test(${data})`);
|
|
4748
|
+
}
|
|
4740
4749
|
}
|
|
4741
4750
|
};
|
|
4742
4751
|
exports.default = def;
|
|
@@ -11936,13 +11945,13 @@ var McpServer = class {
|
|
|
11936
11945
|
}
|
|
11937
11946
|
return registeredPrompt;
|
|
11938
11947
|
}
|
|
11939
|
-
_createRegisteredTool(name, title, description, inputSchema36,
|
|
11948
|
+
_createRegisteredTool(name, title, description, inputSchema36, outputSchema51, annotations, execution, _meta, handler) {
|
|
11940
11949
|
validateAndWarnToolName(name);
|
|
11941
11950
|
const registeredTool = {
|
|
11942
11951
|
title,
|
|
11943
11952
|
description,
|
|
11944
11953
|
inputSchema: getZodSchemaObject(inputSchema36),
|
|
11945
|
-
outputSchema: getZodSchemaObject(
|
|
11954
|
+
outputSchema: getZodSchemaObject(outputSchema51),
|
|
11946
11955
|
annotations,
|
|
11947
11956
|
execution,
|
|
11948
11957
|
_meta,
|
|
@@ -11993,7 +12002,7 @@ var McpServer = class {
|
|
|
11993
12002
|
}
|
|
11994
12003
|
let description;
|
|
11995
12004
|
let inputSchema36;
|
|
11996
|
-
let
|
|
12005
|
+
let outputSchema51;
|
|
11997
12006
|
let annotations;
|
|
11998
12007
|
if (typeof rest[0] === "string") {
|
|
11999
12008
|
description = rest.shift();
|
|
@@ -12010,7 +12019,7 @@ var McpServer = class {
|
|
|
12010
12019
|
}
|
|
12011
12020
|
}
|
|
12012
12021
|
const callback = rest[0];
|
|
12013
|
-
return this._createRegisteredTool(name, void 0, description, inputSchema36,
|
|
12022
|
+
return this._createRegisteredTool(name, void 0, description, inputSchema36, outputSchema51, annotations, { taskSupport: "forbidden" }, void 0, callback);
|
|
12014
12023
|
}
|
|
12015
12024
|
/**
|
|
12016
12025
|
* Registers a tool with a config object and callback.
|
|
@@ -12019,8 +12028,8 @@ var McpServer = class {
|
|
|
12019
12028
|
if (this._registeredTools[name]) {
|
|
12020
12029
|
throw new Error(`Tool ${name} is already registered`);
|
|
12021
12030
|
}
|
|
12022
|
-
const { title, description, inputSchema: inputSchema36, outputSchema:
|
|
12023
|
-
return this._createRegisteredTool(name, title, description, inputSchema36,
|
|
12031
|
+
const { title, description, inputSchema: inputSchema36, outputSchema: outputSchema51, annotations, _meta } = config;
|
|
12032
|
+
return this._createRegisteredTool(name, title, description, inputSchema36, outputSchema51, annotations, { taskSupport: "forbidden" }, _meta, cb);
|
|
12024
12033
|
}
|
|
12025
12034
|
prompt(name, ...rest) {
|
|
12026
12035
|
if (this._registeredPrompts[name]) {
|
|
@@ -12263,7 +12272,7 @@ var StdioServerTransport = class {
|
|
|
12263
12272
|
// package.json
|
|
12264
12273
|
var package_default = {
|
|
12265
12274
|
name: "@umbraco-cms/mcp-dev",
|
|
12266
|
-
version: "17.1.
|
|
12275
|
+
version: "17.1.2",
|
|
12267
12276
|
type: "module",
|
|
12268
12277
|
description: "A model context protocol (MCP) server for Umbraco CMS",
|
|
12269
12278
|
main: "index.js",
|
|
@@ -12312,7 +12321,7 @@ var package_default = {
|
|
|
12312
12321
|
"@modelcontextprotocol/sdk": "^1.25.1",
|
|
12313
12322
|
"@types/uuid": "^10.0.0",
|
|
12314
12323
|
"@types/yargs": "^17.0.33",
|
|
12315
|
-
"@umbraco-cms/mcp-server-sdk": "^17.0.0-beta.
|
|
12324
|
+
"@umbraco-cms/mcp-server-sdk": "^17.0.0-beta.4",
|
|
12316
12325
|
axios: "^1.8.4",
|
|
12317
12326
|
dotenv: "^16.5.0",
|
|
12318
12327
|
"form-data": "^4.0.4",
|
|
@@ -12323,7 +12332,7 @@ var package_default = {
|
|
|
12323
12332
|
zod: "^4.2.1"
|
|
12324
12333
|
},
|
|
12325
12334
|
devDependencies: {
|
|
12326
|
-
"@anthropic-ai/claude-agent-sdk": "
|
|
12335
|
+
"@anthropic-ai/claude-agent-sdk": "0.2.39",
|
|
12327
12336
|
"@jest/types": "^29.6.3",
|
|
12328
12337
|
"@types/dotenv": "^6.1.1",
|
|
12329
12338
|
"@types/jest": "^29.5.14",
|
|
@@ -24284,20 +24293,15 @@ var propertyEditorTemplateItemSchema = _zod2.z.object({
|
|
|
24284
24293
|
values: _zod2.z.array(propertyEditorTemplateValueSchema).optional(),
|
|
24285
24294
|
_notes: _zod2.z.string().optional()
|
|
24286
24295
|
});
|
|
24287
|
-
var propertyEditorTemplateOutputSchema = _zod2.z.
|
|
24288
|
-
_zod2.z.
|
|
24289
|
-
|
|
24290
|
-
availableEditors: _zod2.z.array(_zod2.z.object({
|
|
24291
|
-
name: _zod2.z.string(),
|
|
24292
|
-
notes: _zod2.z.string().optional()
|
|
24293
|
-
}))
|
|
24294
|
-
}),
|
|
24295
|
-
_zod2.z.object({
|
|
24296
|
-
type: _zod2.z.literal("template"),
|
|
24296
|
+
var propertyEditorTemplateOutputSchema = _zod2.z.object({
|
|
24297
|
+
type: _zod2.z.enum(["list", "template"]).describe("Whether this is a list of available editors or a specific template"),
|
|
24298
|
+
availableEditors: _zod2.z.array(_zod2.z.object({
|
|
24297
24299
|
name: _zod2.z.string(),
|
|
24298
|
-
|
|
24299
|
-
})
|
|
24300
|
-
|
|
24300
|
+
notes: _zod2.z.string().optional()
|
|
24301
|
+
})).optional().describe("Available editors (when type is 'list')"),
|
|
24302
|
+
name: _zod2.z.string().optional().describe("Editor name (when type is 'template')"),
|
|
24303
|
+
template: propertyEditorTemplateItemSchema.optional().describe("Editor template (when type is 'template')")
|
|
24304
|
+
});
|
|
24301
24305
|
var GetDataTypePropertyEditorTemplateTool = {
|
|
24302
24306
|
name: "get-data-type-property-editor-template",
|
|
24303
24307
|
description: `Retrieves property editor templates for creating data types in Umbraco.
|
|
@@ -24320,7 +24324,7 @@ The templates include:
|
|
|
24320
24324
|
|
|
24321
24325
|
Note: Some templates (like BlockList, BlockGrid) have _notes indicating you must create element types first before creating the data type.`,
|
|
24322
24326
|
inputSchema: propertyEditorTemplateSchema.shape,
|
|
24323
|
-
outputSchema: propertyEditorTemplateOutputSchema,
|
|
24327
|
+
outputSchema: propertyEditorTemplateOutputSchema.shape,
|
|
24324
24328
|
annotations: {
|
|
24325
24329
|
readOnlyHint: true
|
|
24326
24330
|
},
|
|
@@ -24474,19 +24478,22 @@ var copy_data_type_default = _mcpserversdk.withStandardDecorators.call(void 0, C
|
|
|
24474
24478
|
|
|
24475
24479
|
|
|
24476
24480
|
|
|
24481
|
+
var outputSchema2 = _zod2.z.object({
|
|
24482
|
+
isUsed: _zod2.z.boolean().describe("Whether the data type is currently used within Umbraco")
|
|
24483
|
+
}).shape;
|
|
24477
24484
|
var IsUsedDataTypeTool = {
|
|
24478
24485
|
name: "is-used-data-type",
|
|
24479
24486
|
description: "Checks if a data type is used within Umbraco",
|
|
24480
24487
|
inputSchema: getDataTypeByIdIsUsedParams.shape,
|
|
24481
|
-
outputSchema:
|
|
24488
|
+
outputSchema: outputSchema2,
|
|
24482
24489
|
annotations: {
|
|
24483
24490
|
readOnlyHint: true
|
|
24484
24491
|
},
|
|
24485
24492
|
slices: ["references"],
|
|
24486
24493
|
handler: (async ({ id }) => {
|
|
24487
|
-
|
|
24488
|
-
|
|
24489
|
-
);
|
|
24494
|
+
const client = UmbracoManagementClient3.getClient();
|
|
24495
|
+
const isUsed = await client.getDataTypeByIdIsUsed(id);
|
|
24496
|
+
return _mcpserversdk.createToolResult.call(void 0, { isUsed });
|
|
24490
24497
|
})
|
|
24491
24498
|
};
|
|
24492
24499
|
var is_used_data_type_default = _mcpserversdk.withStandardDecorators.call(void 0, IsUsedDataTypeTool);
|
|
@@ -24739,14 +24746,14 @@ var get_siblings_default = _mcpserversdk.withStandardDecorators.call(void 0, Get
|
|
|
24739
24746
|
|
|
24740
24747
|
|
|
24741
24748
|
|
|
24742
|
-
var
|
|
24749
|
+
var outputSchema3 = _zod2.z.object({
|
|
24743
24750
|
items: getTreeDataTypeAncestorsResponse
|
|
24744
24751
|
});
|
|
24745
24752
|
var GetDataTypeAncestorsTool = {
|
|
24746
24753
|
name: "get-data-type-ancestors",
|
|
24747
24754
|
description: "Gets the ancestors of a data type by Id",
|
|
24748
24755
|
inputSchema: getTreeDataTypeAncestorsQueryParams.shape,
|
|
24749
|
-
outputSchema:
|
|
24756
|
+
outputSchema: outputSchema3.shape,
|
|
24750
24757
|
annotations: {
|
|
24751
24758
|
readOnlyHint: true
|
|
24752
24759
|
},
|
|
@@ -24765,7 +24772,7 @@ var get_ancestors_default = _mcpserversdk.withStandardDecorators.call(void 0, Ge
|
|
|
24765
24772
|
|
|
24766
24773
|
|
|
24767
24774
|
|
|
24768
|
-
var
|
|
24775
|
+
var outputSchema4 = _zod2.z.object({
|
|
24769
24776
|
items: getTreeDataTypeRootResponse.shape.items
|
|
24770
24777
|
});
|
|
24771
24778
|
var GetAllDataTypesTool = {
|
|
@@ -24774,7 +24781,7 @@ var GetAllDataTypesTool = {
|
|
|
24774
24781
|
This is the preferred approach when you need to understand the full folder structure.
|
|
24775
24782
|
For large sites, this may take a while to complete. For smaller sites its more efficient than fetching all data types by folder.`,
|
|
24776
24783
|
inputSchema: {},
|
|
24777
|
-
outputSchema:
|
|
24784
|
+
outputSchema: outputSchema4.shape,
|
|
24778
24785
|
annotations: {
|
|
24779
24786
|
readOnlyHint: true
|
|
24780
24787
|
},
|
|
@@ -24971,14 +24978,14 @@ var get_dictionary_item_default = _mcpserversdk.withStandardDecorators.call(void
|
|
|
24971
24978
|
|
|
24972
24979
|
|
|
24973
24980
|
|
|
24974
|
-
var
|
|
24981
|
+
var outputSchema5 = _zod2.z.object({
|
|
24975
24982
|
items: getItemDictionaryResponse
|
|
24976
24983
|
});
|
|
24977
24984
|
var GetDictionaryByIdArrayTool = {
|
|
24978
24985
|
name: "get-dictionary-by-id-array",
|
|
24979
24986
|
description: "Gets dictionary items by IDs (or empty array if no IDs are provided)",
|
|
24980
24987
|
inputSchema: getItemDictionaryQueryParams.shape,
|
|
24981
|
-
outputSchema:
|
|
24988
|
+
outputSchema: outputSchema5.shape,
|
|
24982
24989
|
annotations: { readOnlyHint: true },
|
|
24983
24990
|
slices: ["list"],
|
|
24984
24991
|
handler: (async (params) => {
|
|
@@ -25154,14 +25161,14 @@ var get_children_default2 = _mcpserversdk.withStandardDecorators.call(void 0, Ge
|
|
|
25154
25161
|
|
|
25155
25162
|
|
|
25156
25163
|
|
|
25157
|
-
var
|
|
25164
|
+
var outputSchema6 = _zod2.z.object({
|
|
25158
25165
|
items: getTreeDictionaryAncestorsResponse
|
|
25159
25166
|
});
|
|
25160
25167
|
var GetDictionaryAncestorsTool = {
|
|
25161
25168
|
name: "get-dictionary-ancestors",
|
|
25162
25169
|
description: "Gets the ancestors of a dictionary item by Id",
|
|
25163
25170
|
inputSchema: getTreeDictionaryAncestorsQueryParams.shape,
|
|
25164
|
-
outputSchema:
|
|
25171
|
+
outputSchema: outputSchema6.shape,
|
|
25165
25172
|
annotations: { readOnlyHint: true },
|
|
25166
25173
|
slices: ["tree"],
|
|
25167
25174
|
handler: (async (params) => {
|
|
@@ -25322,14 +25329,14 @@ var create_blueprint_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
25322
25329
|
|
|
25323
25330
|
|
|
25324
25331
|
|
|
25325
|
-
var
|
|
25332
|
+
var outputSchema7 = _zod2.z.object({
|
|
25326
25333
|
items: getTreeDocumentBlueprintAncestorsResponse
|
|
25327
25334
|
});
|
|
25328
25335
|
var GetDocumentBlueprintAncestorsTool = {
|
|
25329
25336
|
name: "get-document-blueprint-ancestors",
|
|
25330
25337
|
description: "Gets the ancestors of a document blueprint by Id",
|
|
25331
25338
|
inputSchema: getTreeDocumentBlueprintAncestorsQueryParams.shape,
|
|
25332
|
-
outputSchema:
|
|
25339
|
+
outputSchema: outputSchema7.shape,
|
|
25333
25340
|
annotations: { readOnlyHint: true },
|
|
25334
25341
|
slices: ["tree"],
|
|
25335
25342
|
handler: (async (params) => {
|
|
@@ -25469,14 +25476,14 @@ var create_document_blueprint_from_document_default = _mcpserversdk.withStandard
|
|
|
25469
25476
|
|
|
25470
25477
|
|
|
25471
25478
|
|
|
25472
|
-
var
|
|
25479
|
+
var outputSchema8 = _zod2.z.object({
|
|
25473
25480
|
items: getItemDocumentBlueprintResponse
|
|
25474
25481
|
});
|
|
25475
25482
|
var GetDocumentBlueprintByIdArrayTool = {
|
|
25476
25483
|
name: "get-document-blueprint-by-id-array",
|
|
25477
25484
|
description: "Gets document blueprints by IDs (or empty array if no IDs are provided)",
|
|
25478
25485
|
inputSchema: getItemDocumentBlueprintQueryParams.shape,
|
|
25479
|
-
outputSchema:
|
|
25486
|
+
outputSchema: outputSchema8.shape,
|
|
25480
25487
|
annotations: { readOnlyHint: true },
|
|
25481
25488
|
slices: ["list"],
|
|
25482
25489
|
handler: (async (params) => {
|
|
@@ -25799,14 +25806,14 @@ var get_document_domains_default = _mcpserversdk.withStandardDecorators.call(voi
|
|
|
25799
25806
|
|
|
25800
25807
|
|
|
25801
25808
|
|
|
25802
|
-
var
|
|
25809
|
+
var outputSchema9 = _zod2.z.object({
|
|
25803
25810
|
items: getDocumentByIdNotificationsResponse
|
|
25804
25811
|
});
|
|
25805
25812
|
var GetDocumentNotificationsTool = {
|
|
25806
25813
|
name: "get-document-notifications",
|
|
25807
25814
|
description: "Gets the notifications for a document by Id.",
|
|
25808
25815
|
inputSchema: getDocumentByIdNotificationsParams.shape,
|
|
25809
|
-
outputSchema:
|
|
25816
|
+
outputSchema: outputSchema9.shape,
|
|
25810
25817
|
annotations: {
|
|
25811
25818
|
readOnlyHint: true
|
|
25812
25819
|
},
|
|
@@ -25926,14 +25933,14 @@ var get_document_configuration_default = _mcpserversdk.withStandardDecorators.ca
|
|
|
25926
25933
|
|
|
25927
25934
|
|
|
25928
25935
|
|
|
25929
|
-
var
|
|
25936
|
+
var outputSchema10 = _zod2.z.object({
|
|
25930
25937
|
items: getDocumentUrlsResponse
|
|
25931
25938
|
});
|
|
25932
25939
|
var GetDocumentUrlsTool = {
|
|
25933
25940
|
name: "get-document-urls",
|
|
25934
25941
|
description: "Gets the URLs for a document.",
|
|
25935
25942
|
inputSchema: getDocumentUrlsQueryParams.shape,
|
|
25936
|
-
outputSchema:
|
|
25943
|
+
outputSchema: outputSchema10.shape,
|
|
25937
25944
|
annotations: {
|
|
25938
25945
|
readOnlyHint: true
|
|
25939
25946
|
},
|
|
@@ -26515,14 +26522,14 @@ var get_collection_document_by_id_default = _mcpserversdk.withStandardDecorators
|
|
|
26515
26522
|
|
|
26516
26523
|
|
|
26517
26524
|
|
|
26518
|
-
var
|
|
26525
|
+
var outputSchema11 = _zod2.z.object({
|
|
26519
26526
|
items: getItemDocumentResponse
|
|
26520
26527
|
});
|
|
26521
26528
|
var GetItemDocumentTool = {
|
|
26522
26529
|
name: "get-item-document",
|
|
26523
26530
|
description: "Gets document items by their ids",
|
|
26524
26531
|
inputSchema: getItemDocumentQueryParams.shape,
|
|
26525
|
-
outputSchema:
|
|
26532
|
+
outputSchema: outputSchema11.shape,
|
|
26526
26533
|
annotations: {
|
|
26527
26534
|
readOnlyHint: true
|
|
26528
26535
|
},
|
|
@@ -27611,7 +27618,7 @@ var UpdateDocumentPropertiesTool = {
|
|
|
27611
27618
|
- Update with culture: { id: "...", properties: [{ alias: "title", value: "Nuevo T\xEDtulo", culture: "es-ES" }] }
|
|
27612
27619
|
- Mix update and add: { id: "...", properties: [{ alias: "title", value: "New" }, { alias: "newProp", value: "Value" }] }`,
|
|
27613
27620
|
inputSchema: updateDocumentPropertiesSchema,
|
|
27614
|
-
outputSchema: updateDocumentPropertiesOutputSchema,
|
|
27621
|
+
outputSchema: updateDocumentPropertiesOutputSchema.shape,
|
|
27615
27622
|
annotations: {
|
|
27616
27623
|
idempotentHint: true
|
|
27617
27624
|
},
|
|
@@ -27932,7 +27939,7 @@ var UpdateBlockPropertyTool = {
|
|
|
27932
27939
|
- Update with culture: { documentId: "...", propertyAlias: "mainContent", culture: "es-ES", updates: [...] }
|
|
27933
27940
|
- Batch update multiple blocks: { documentId: "...", propertyAlias: "mainContent", updates: [{ contentKey: "uuid1", ... }, { contentKey: "uuid2", ... }] }`,
|
|
27934
27941
|
inputSchema: updateBlockPropertySchema,
|
|
27935
|
-
outputSchema: updateBlockPropertyOutputSchema,
|
|
27942
|
+
outputSchema: updateBlockPropertyOutputSchema.shape,
|
|
27936
27943
|
annotations: {
|
|
27937
27944
|
idempotentHint: true
|
|
27938
27945
|
},
|
|
@@ -28159,14 +28166,14 @@ var get_children_default4 = _mcpserversdk.withStandardDecorators.call(void 0, Ge
|
|
|
28159
28166
|
|
|
28160
28167
|
|
|
28161
28168
|
|
|
28162
|
-
var
|
|
28169
|
+
var outputSchema12 = _zod2.z.object({
|
|
28163
28170
|
items: getTreeDocumentAncestorsResponse
|
|
28164
28171
|
});
|
|
28165
28172
|
var GetDocumentAncestorsTool = {
|
|
28166
28173
|
name: "get-document-ancestors",
|
|
28167
28174
|
description: "Gets ancestor items for a document.",
|
|
28168
28175
|
inputSchema: getTreeDocumentAncestorsQueryParams.shape,
|
|
28169
|
-
outputSchema:
|
|
28176
|
+
outputSchema: outputSchema12.shape,
|
|
28170
28177
|
annotations: {
|
|
28171
28178
|
readOnlyHint: true
|
|
28172
28179
|
},
|
|
@@ -28721,14 +28728,14 @@ var get_children_default5 = _mcpserversdk.withStandardDecorators.call(void 0, Ge
|
|
|
28721
28728
|
|
|
28722
28729
|
|
|
28723
28730
|
|
|
28724
|
-
var
|
|
28731
|
+
var outputSchema13 = _zod2.z.object({
|
|
28725
28732
|
items: getTreeDocumentTypeAncestorsResponse
|
|
28726
28733
|
});
|
|
28727
28734
|
var GetDocumentTypeAncestorsTool = {
|
|
28728
28735
|
name: "get-document-type-ancestors",
|
|
28729
28736
|
description: "Gets the ancestors of a document type",
|
|
28730
28737
|
inputSchema: getTreeDocumentTypeAncestorsQueryParams.shape,
|
|
28731
|
-
outputSchema:
|
|
28738
|
+
outputSchema: outputSchema13.shape,
|
|
28732
28739
|
annotations: { readOnlyHint: true },
|
|
28733
28740
|
slices: ["tree"],
|
|
28734
28741
|
handler: (async (params) => {
|
|
@@ -28879,14 +28886,14 @@ var get_document_type_blueprint_default = _mcpserversdk.withStandardDecorators.c
|
|
|
28879
28886
|
|
|
28880
28887
|
|
|
28881
28888
|
|
|
28882
|
-
var
|
|
28889
|
+
var outputSchema14 = _zod2.z.object({
|
|
28883
28890
|
items: getDocumentTypeByIdCompositionReferencesResponse
|
|
28884
28891
|
});
|
|
28885
28892
|
var GetDocumentTypeCompositionReferencesTool = {
|
|
28886
28893
|
name: "get-document-type-composition-references",
|
|
28887
28894
|
description: "Gets the composition references for a document type",
|
|
28888
28895
|
inputSchema: getDocumentTypeByIdCompositionReferencesParams.shape,
|
|
28889
|
-
outputSchema:
|
|
28896
|
+
outputSchema: outputSchema14.shape,
|
|
28890
28897
|
annotations: { readOnlyHint: true },
|
|
28891
28898
|
slices: ["references"],
|
|
28892
28899
|
handler: (async ({ id }) => {
|
|
@@ -28904,14 +28911,14 @@ var get_document_type_composition_references_default = _mcpserversdk.withStandar
|
|
|
28904
28911
|
|
|
28905
28912
|
|
|
28906
28913
|
|
|
28907
|
-
var
|
|
28914
|
+
var outputSchema15 = _zod2.z.object({
|
|
28908
28915
|
items: postDocumentTypeAvailableCompositionsResponse
|
|
28909
28916
|
});
|
|
28910
28917
|
var GetDocumentTypeAvailableCompositionsTool = {
|
|
28911
28918
|
name: "get-document-type-available-compositions",
|
|
28912
28919
|
description: "Gets the available compositions for a document type",
|
|
28913
28920
|
inputSchema: postDocumentTypeAvailableCompositionsBody.shape,
|
|
28914
|
-
outputSchema:
|
|
28921
|
+
outputSchema: outputSchema15.shape,
|
|
28915
28922
|
annotations: { readOnlyHint: true },
|
|
28916
28923
|
slices: ["read"],
|
|
28917
28924
|
handler: (async (model) => {
|
|
@@ -28977,14 +28984,14 @@ var get_document_type_configuration_default = _mcpserversdk.withStandardDecorato
|
|
|
28977
28984
|
|
|
28978
28985
|
|
|
28979
28986
|
|
|
28980
|
-
var
|
|
28987
|
+
var outputSchema16 = _zod2.z.object({
|
|
28981
28988
|
items: getItemDocumentTypeResponse
|
|
28982
28989
|
});
|
|
28983
28990
|
var GetDocumentTypesByIdArrayTool = {
|
|
28984
28991
|
name: "get-document-types-by-id-array",
|
|
28985
28992
|
description: "Gets document types by IDs (or empty array if no IDs are provided)",
|
|
28986
28993
|
inputSchema: getItemDocumentTypeQueryParams.shape,
|
|
28987
|
-
outputSchema:
|
|
28994
|
+
outputSchema: outputSchema16.shape,
|
|
28988
28995
|
annotations: { readOnlyHint: true },
|
|
28989
28996
|
slices: ["list"],
|
|
28990
28997
|
handler: (async (params) => {
|
|
@@ -29665,7 +29672,7 @@ var create_element_type_default = _mcpserversdk.withStandardDecorators.call(void
|
|
|
29665
29672
|
|
|
29666
29673
|
|
|
29667
29674
|
|
|
29668
|
-
var
|
|
29675
|
+
var outputSchema17 = _zod2.z.object({
|
|
29669
29676
|
items: getTreeDocumentTypeRootResponse.shape.items
|
|
29670
29677
|
});
|
|
29671
29678
|
var GetAllDocumentTypesTool = {
|
|
@@ -29674,7 +29681,7 @@ var GetAllDocumentTypesTool = {
|
|
|
29674
29681
|
This is the preferred approach when you need to understand the full folder structure.
|
|
29675
29682
|
For large sites, this may take a while to complete. For smaller sites its more efficient than fetching all documents by folder.`,
|
|
29676
29683
|
inputSchema: {},
|
|
29677
|
-
outputSchema:
|
|
29684
|
+
outputSchema: outputSchema17.shape,
|
|
29678
29685
|
annotations: { readOnlyHint: true },
|
|
29679
29686
|
slices: ["list"],
|
|
29680
29687
|
handler: (async () => {
|
|
@@ -29978,7 +29985,7 @@ var HealthCollection = {
|
|
|
29978
29985
|
|
|
29979
29986
|
|
|
29980
29987
|
|
|
29981
|
-
var
|
|
29988
|
+
var outputSchema18 = _zod2.z.object({
|
|
29982
29989
|
items: getImagingResizeUrlsResponse
|
|
29983
29990
|
});
|
|
29984
29991
|
var GetImagingResizeUrlsTool = {
|
|
@@ -29995,7 +30002,7 @@ var GetImagingResizeUrlsTool = {
|
|
|
29995
30002
|
- width: Target width in pixels (default: 200)
|
|
29996
30003
|
- mode: Resize mode (Crop, Max, Stretch, Pad, BoxPad, Min)`,
|
|
29997
30004
|
inputSchema: getImagingResizeUrlsQueryParams.shape,
|
|
29998
|
-
outputSchema:
|
|
30005
|
+
outputSchema: outputSchema18.shape,
|
|
29999
30006
|
annotations: {
|
|
30000
30007
|
readOnlyHint: true
|
|
30001
30008
|
},
|
|
@@ -30122,14 +30129,14 @@ var IndexerCollection = {
|
|
|
30122
30129
|
|
|
30123
30130
|
|
|
30124
30131
|
|
|
30125
|
-
var
|
|
30132
|
+
var outputSchema19 = _zod2.z.object({
|
|
30126
30133
|
items: getItemLanguageResponse
|
|
30127
30134
|
});
|
|
30128
30135
|
var GetLanguageItemsTool = {
|
|
30129
30136
|
name: "get-language-items",
|
|
30130
30137
|
description: "Gets language items (optionally filtered by isoCode)",
|
|
30131
30138
|
inputSchema: getItemLanguageQueryParams.shape,
|
|
30132
|
-
outputSchema:
|
|
30139
|
+
outputSchema: outputSchema19.shape,
|
|
30133
30140
|
annotations: {
|
|
30134
30141
|
readOnlyHint: true
|
|
30135
30142
|
},
|
|
@@ -30555,14 +30562,14 @@ var LogViewerCollection = {
|
|
|
30555
30562
|
|
|
30556
30563
|
|
|
30557
30564
|
|
|
30558
|
-
var
|
|
30565
|
+
var outputSchema20 = _zod2.z.object({
|
|
30559
30566
|
items: getManifestManifestResponse
|
|
30560
30567
|
});
|
|
30561
30568
|
var GetManifestManifestTool = {
|
|
30562
30569
|
name: "get-manifest-manifest",
|
|
30563
30570
|
description: "Gets all manifests (both public and private) from the Umbraco installation. Each manifest contains an extensions property showing what the package exposes to Umbraco. Use to see which packages are installed, troubleshoot package issues, or list available extensions.",
|
|
30564
30571
|
inputSchema: {},
|
|
30565
|
-
outputSchema:
|
|
30572
|
+
outputSchema: outputSchema20.shape,
|
|
30566
30573
|
annotations: {
|
|
30567
30574
|
readOnlyHint: true
|
|
30568
30575
|
},
|
|
@@ -30582,14 +30589,14 @@ var get_manifest_manifest_default = _mcpserversdk.withStandardDecorators.call(vo
|
|
|
30582
30589
|
|
|
30583
30590
|
|
|
30584
30591
|
|
|
30585
|
-
var
|
|
30592
|
+
var outputSchema21 = _zod2.z.object({
|
|
30586
30593
|
items: getManifestManifestPrivateResponse
|
|
30587
30594
|
});
|
|
30588
30595
|
var GetManifestManifestPrivateTool = {
|
|
30589
30596
|
name: "get-manifest-manifest-private",
|
|
30590
30597
|
description: "Gets private manifests from the Umbraco installation. Private manifests require authentication and contain administrative/sensitive extensions.",
|
|
30591
30598
|
inputSchema: {},
|
|
30592
|
-
outputSchema:
|
|
30599
|
+
outputSchema: outputSchema21.shape,
|
|
30593
30600
|
annotations: {
|
|
30594
30601
|
readOnlyHint: true
|
|
30595
30602
|
},
|
|
@@ -30609,14 +30616,14 @@ var get_manifest_manifest_private_default = _mcpserversdk.withStandardDecorators
|
|
|
30609
30616
|
|
|
30610
30617
|
|
|
30611
30618
|
|
|
30612
|
-
var
|
|
30619
|
+
var outputSchema22 = _zod2.z.object({
|
|
30613
30620
|
items: getManifestManifestPublicResponse
|
|
30614
30621
|
});
|
|
30615
30622
|
var GetManifestManifestPublicTool = {
|
|
30616
30623
|
name: "get-manifest-manifest-public",
|
|
30617
30624
|
description: "Gets public manifests from the Umbraco installation. Public manifests can be accessed without authentication and contain public-facing extensions.",
|
|
30618
30625
|
inputSchema: {},
|
|
30619
|
-
outputSchema:
|
|
30626
|
+
outputSchema: outputSchema22.shape,
|
|
30620
30627
|
annotations: {
|
|
30621
30628
|
readOnlyHint: true
|
|
30622
30629
|
},
|
|
@@ -31269,14 +31276,14 @@ var get_media_configuration_default = _mcpserversdk.withStandardDecorators.call(
|
|
|
31269
31276
|
|
|
31270
31277
|
|
|
31271
31278
|
|
|
31272
|
-
var
|
|
31279
|
+
var outputSchema23 = _zod2.z.object({
|
|
31273
31280
|
items: getMediaUrlsResponse
|
|
31274
31281
|
});
|
|
31275
31282
|
var GetMediaUrlsTool = {
|
|
31276
31283
|
name: "get-media-urls",
|
|
31277
31284
|
description: "Gets the URLs for a media item.",
|
|
31278
31285
|
inputSchema: getMediaUrlsQueryParams.shape,
|
|
31279
|
-
outputSchema:
|
|
31286
|
+
outputSchema: outputSchema23.shape,
|
|
31280
31287
|
annotations: { readOnlyHint: true },
|
|
31281
31288
|
slices: ["read"],
|
|
31282
31289
|
handler: (async (params) => {
|
|
@@ -31361,14 +31368,14 @@ var sort_media_default = _mcpserversdk.withStandardDecorators.call(void 0, SortM
|
|
|
31361
31368
|
|
|
31362
31369
|
|
|
31363
31370
|
|
|
31364
|
-
var
|
|
31371
|
+
var outputSchema24 = _zod2.z.object({
|
|
31365
31372
|
items: getItemMediaResponse
|
|
31366
31373
|
});
|
|
31367
31374
|
var GetMediaByIdArrayTool = {
|
|
31368
31375
|
name: "get-media-by-id-array",
|
|
31369
31376
|
description: "Gets media items by an array of IDs",
|
|
31370
31377
|
inputSchema: getItemMediaQueryParams.shape,
|
|
31371
|
-
outputSchema:
|
|
31378
|
+
outputSchema: outputSchema24.shape,
|
|
31372
31379
|
annotations: { readOnlyHint: true },
|
|
31373
31380
|
slices: ["read"],
|
|
31374
31381
|
handler: (async (params) => {
|
|
@@ -31413,14 +31420,14 @@ var move_media_default = _mcpserversdk.withStandardDecorators.call(void 0, MoveM
|
|
|
31413
31420
|
|
|
31414
31421
|
|
|
31415
31422
|
|
|
31416
|
-
var
|
|
31423
|
+
var outputSchema25 = _zod2.z.object({
|
|
31417
31424
|
items: getTreeMediaAncestorsResponse
|
|
31418
31425
|
});
|
|
31419
31426
|
var GetMediaAncestorsTool = {
|
|
31420
31427
|
name: "get-media-ancestors",
|
|
31421
31428
|
description: "Gets ancestor items for a media.",
|
|
31422
31429
|
inputSchema: getTreeMediaAncestorsQueryParams.shape,
|
|
31423
|
-
outputSchema:
|
|
31430
|
+
outputSchema: outputSchema25.shape,
|
|
31424
31431
|
annotations: { readOnlyHint: true },
|
|
31425
31432
|
slices: ["tree"],
|
|
31426
31433
|
handler: (async (params) => {
|
|
@@ -31943,14 +31950,14 @@ var get_media_type_by_id_default = _mcpserversdk.withStandardDecorators.call(voi
|
|
|
31943
31950
|
var inputSchema22 = _zod2.z.object({
|
|
31944
31951
|
ids: _zod2.z.array(_zod2.z.string())
|
|
31945
31952
|
});
|
|
31946
|
-
var
|
|
31953
|
+
var outputSchema26 = _zod2.z.object({
|
|
31947
31954
|
items: _zod2.z.array(getMediaTypeByIdResponse)
|
|
31948
31955
|
});
|
|
31949
31956
|
var GetMediaTypeByIdsTool = {
|
|
31950
31957
|
name: "get-media-type-by-ids",
|
|
31951
31958
|
description: "Gets media types by ids",
|
|
31952
31959
|
inputSchema: inputSchema22.shape,
|
|
31953
|
-
outputSchema:
|
|
31960
|
+
outputSchema: outputSchema26.shape,
|
|
31954
31961
|
annotations: { readOnlyHint: true },
|
|
31955
31962
|
slices: ["list"],
|
|
31956
31963
|
handler: (async ({ ids }) => {
|
|
@@ -31970,14 +31977,14 @@ var get_media_type_by_ids_default = _mcpserversdk.withStandardDecorators.call(vo
|
|
|
31970
31977
|
|
|
31971
31978
|
|
|
31972
31979
|
|
|
31973
|
-
var
|
|
31980
|
+
var outputSchema27 = _zod2.z.object({
|
|
31974
31981
|
items: getItemMediaTypeResponse
|
|
31975
31982
|
});
|
|
31976
31983
|
var GetItemMediaTypeTool = {
|
|
31977
31984
|
name: "get-item-media-type",
|
|
31978
31985
|
description: "Gets media type items by their ids",
|
|
31979
31986
|
inputSchema: getItemMediaTypeQueryParams.shape,
|
|
31980
|
-
outputSchema:
|
|
31987
|
+
outputSchema: outputSchema27.shape,
|
|
31981
31988
|
annotations: { readOnlyHint: true },
|
|
31982
31989
|
slices: ["read"],
|
|
31983
31990
|
handler: (async (params) => {
|
|
@@ -32064,14 +32071,14 @@ var get_media_type_allowed_children_default = _mcpserversdk.withStandardDecorato
|
|
|
32064
32071
|
|
|
32065
32072
|
|
|
32066
32073
|
|
|
32067
|
-
var
|
|
32074
|
+
var outputSchema28 = _zod2.z.object({
|
|
32068
32075
|
items: getMediaTypeByIdCompositionReferencesResponse
|
|
32069
32076
|
});
|
|
32070
32077
|
var GetMediaTypeCompositionReferencesTool = {
|
|
32071
32078
|
name: "get-media-type-composition-references",
|
|
32072
32079
|
description: "Gets the composition references for a media type",
|
|
32073
32080
|
inputSchema: getMediaTypeByIdCompositionReferencesParams.shape,
|
|
32074
|
-
outputSchema:
|
|
32081
|
+
outputSchema: outputSchema28.shape,
|
|
32075
32082
|
annotations: { readOnlyHint: true },
|
|
32076
32083
|
slices: ["read"],
|
|
32077
32084
|
handler: (async ({ id }) => {
|
|
@@ -32152,14 +32159,14 @@ var get_siblings_default6 = _mcpserversdk.withStandardDecorators.call(void 0, Ge
|
|
|
32152
32159
|
|
|
32153
32160
|
|
|
32154
32161
|
|
|
32155
|
-
var
|
|
32162
|
+
var outputSchema29 = _zod2.z.object({
|
|
32156
32163
|
items: getTreeMediaTypeAncestorsResponse
|
|
32157
32164
|
});
|
|
32158
32165
|
var GetMediaTypeAncestorsTool = {
|
|
32159
32166
|
name: "get-media-type-ancestors",
|
|
32160
32167
|
description: "Gets the ancestors of a media type",
|
|
32161
32168
|
inputSchema: getTreeMediaTypeAncestorsQueryParams.shape,
|
|
32162
|
-
outputSchema:
|
|
32169
|
+
outputSchema: outputSchema29.shape,
|
|
32163
32170
|
annotations: { readOnlyHint: true },
|
|
32164
32171
|
slices: ["tree"],
|
|
32165
32172
|
handler: (async (params) => {
|
|
@@ -32451,14 +32458,14 @@ var copy_media_type_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
32451
32458
|
|
|
32452
32459
|
|
|
32453
32460
|
|
|
32454
|
-
var
|
|
32461
|
+
var outputSchema30 = _zod2.z.object({
|
|
32455
32462
|
items: postMediaTypeAvailableCompositionsResponse
|
|
32456
32463
|
});
|
|
32457
32464
|
var GetMediaTypeAvailableCompositionsTool = {
|
|
32458
32465
|
name: "get-media-type-available-compositions",
|
|
32459
32466
|
description: "Gets the available compositions for a media type",
|
|
32460
32467
|
inputSchema: postMediaTypeAvailableCompositionsBody.shape,
|
|
32461
|
-
outputSchema:
|
|
32468
|
+
outputSchema: outputSchema30.shape,
|
|
32462
32469
|
annotations: { readOnlyHint: true },
|
|
32463
32470
|
slices: ["configuration"],
|
|
32464
32471
|
handler: (async (model) => {
|
|
@@ -32912,14 +32919,14 @@ var get_member_group_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
32912
32919
|
|
|
32913
32920
|
|
|
32914
32921
|
|
|
32915
|
-
var
|
|
32922
|
+
var outputSchema31 = _zod2.z.object({
|
|
32916
32923
|
items: getItemMemberGroupResponse
|
|
32917
32924
|
});
|
|
32918
32925
|
var GetMemberGroupByIdArrayTool = {
|
|
32919
32926
|
name: "get-member-group-by-id-array",
|
|
32920
32927
|
description: "Gets member groups by an array of IDs",
|
|
32921
32928
|
inputSchema: getItemMemberGroupQueryParams.shape,
|
|
32922
|
-
outputSchema:
|
|
32929
|
+
outputSchema: outputSchema31.shape,
|
|
32923
32930
|
annotations: {
|
|
32924
32931
|
readOnlyHint: true
|
|
32925
32932
|
},
|
|
@@ -33145,14 +33152,14 @@ var create_member_type_default = _mcpserversdk.withStandardDecorators.call(void
|
|
|
33145
33152
|
|
|
33146
33153
|
|
|
33147
33154
|
|
|
33148
|
-
var
|
|
33155
|
+
var outputSchema32 = _zod2.z.object({
|
|
33149
33156
|
items: getItemMemberTypeResponse
|
|
33150
33157
|
});
|
|
33151
33158
|
var GetMemberTypesByIdArrayTool = {
|
|
33152
33159
|
name: "get-member-types-by-id-array",
|
|
33153
33160
|
description: "Gets member types by IDs (or empty array if no IDs are provided)",
|
|
33154
33161
|
inputSchema: getItemMemberTypeQueryParams.shape,
|
|
33155
|
-
outputSchema:
|
|
33162
|
+
outputSchema: outputSchema32.shape,
|
|
33156
33163
|
annotations: { readOnlyHint: true },
|
|
33157
33164
|
slices: ["list"],
|
|
33158
33165
|
handler: (async (params) => {
|
|
@@ -33288,14 +33295,14 @@ var copy_member_type_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
33288
33295
|
|
|
33289
33296
|
|
|
33290
33297
|
|
|
33291
|
-
var
|
|
33298
|
+
var outputSchema33 = _zod2.z.object({
|
|
33292
33299
|
items: postMemberTypeAvailableCompositionsResponse
|
|
33293
33300
|
});
|
|
33294
33301
|
var GetMemberTypeAvailableCompositionsTool = {
|
|
33295
33302
|
name: "get-member-type-available-compositions",
|
|
33296
33303
|
description: "Gets the available compositions for a member type",
|
|
33297
33304
|
inputSchema: postMemberTypeAvailableCompositionsBody.shape,
|
|
33298
|
-
outputSchema:
|
|
33305
|
+
outputSchema: outputSchema33.shape,
|
|
33299
33306
|
annotations: { readOnlyHint: true },
|
|
33300
33307
|
slices: ["configuration"],
|
|
33301
33308
|
handler: (async (model) => {
|
|
@@ -33313,14 +33320,14 @@ var get_member_type_available_compositions_default = _mcpserversdk.withStandardD
|
|
|
33313
33320
|
|
|
33314
33321
|
|
|
33315
33322
|
|
|
33316
|
-
var
|
|
33323
|
+
var outputSchema34 = _zod2.z.object({
|
|
33317
33324
|
items: getMemberTypeByIdCompositionReferencesResponse
|
|
33318
33325
|
});
|
|
33319
33326
|
var GetMemberTypeCompositionReferencesTool = {
|
|
33320
33327
|
name: "get-member-type-composition-references",
|
|
33321
33328
|
description: "Gets the composition references for a member type",
|
|
33322
33329
|
inputSchema: getMemberTypeByIdCompositionReferencesParams.shape,
|
|
33323
|
-
outputSchema:
|
|
33330
|
+
outputSchema: outputSchema34.shape,
|
|
33324
33331
|
annotations: { readOnlyHint: true },
|
|
33325
33332
|
slices: ["read"],
|
|
33326
33333
|
handler: (async ({ id }) => {
|
|
@@ -33848,14 +33855,14 @@ var get_partial_view_snippet_by_id_default = _mcpserversdk.withStandardDecorator
|
|
|
33848
33855
|
|
|
33849
33856
|
|
|
33850
33857
|
|
|
33851
|
-
var
|
|
33858
|
+
var outputSchema35 = _zod2.z.object({
|
|
33852
33859
|
items: getTreePartialViewAncestorsResponse
|
|
33853
33860
|
});
|
|
33854
33861
|
var GetPartialViewAncestorsTool = {
|
|
33855
33862
|
name: "get-partial-view-ancestors",
|
|
33856
33863
|
description: "Gets the ancestors of a partial view in the tree structure",
|
|
33857
33864
|
inputSchema: getTreePartialViewAncestorsQueryParams.shape,
|
|
33858
|
-
outputSchema:
|
|
33865
|
+
outputSchema: outputSchema35.shape,
|
|
33859
33866
|
annotations: { readOnlyHint: true },
|
|
33860
33867
|
slices: ["tree"],
|
|
33861
33868
|
handler: (async (model) => {
|
|
@@ -33915,14 +33922,14 @@ var get_root_default10 = _mcpserversdk.withStandardDecorators.call(void 0, GetPa
|
|
|
33915
33922
|
|
|
33916
33923
|
|
|
33917
33924
|
|
|
33918
|
-
var
|
|
33925
|
+
var outputSchema36 = _zod2.z.object({
|
|
33919
33926
|
items: getItemPartialViewResponse
|
|
33920
33927
|
});
|
|
33921
33928
|
var GetPartialViewSearchTool = {
|
|
33922
33929
|
name: "get-partial-view-search",
|
|
33923
33930
|
description: "Searches for partial views by name or path",
|
|
33924
33931
|
inputSchema: getItemPartialViewQueryParams.shape,
|
|
33925
|
-
outputSchema:
|
|
33932
|
+
outputSchema: outputSchema36.shape,
|
|
33926
33933
|
annotations: { readOnlyHint: true },
|
|
33927
33934
|
slices: ["search"],
|
|
33928
33935
|
handler: (async (model) => {
|
|
@@ -33992,14 +33999,14 @@ var PartialViewCollection = {
|
|
|
33992
33999
|
|
|
33993
34000
|
|
|
33994
34001
|
|
|
33995
|
-
var
|
|
34002
|
+
var outputSchema37 = _zod2.z.object({
|
|
33996
34003
|
isUsed: getPropertyTypeIsUsedResponse
|
|
33997
34004
|
});
|
|
33998
34005
|
var GetPropertyTypeIsUsedTool = {
|
|
33999
34006
|
name: "get-property-type-is-used",
|
|
34000
34007
|
description: "Checks if a property type is used within Umbraco",
|
|
34001
34008
|
inputSchema: getPropertyTypeIsUsedQueryParams.shape,
|
|
34002
|
-
outputSchema:
|
|
34009
|
+
outputSchema: outputSchema37.shape,
|
|
34003
34010
|
annotations: { readOnlyHint: true },
|
|
34004
34011
|
slices: ["read"],
|
|
34005
34012
|
handler: (async ({ contentTypeId, propertyAlias }) => {
|
|
@@ -34315,14 +34322,14 @@ var get_script_folder_by_path_default = _mcpserversdk.withStandardDecorators.cal
|
|
|
34315
34322
|
|
|
34316
34323
|
|
|
34317
34324
|
|
|
34318
|
-
var
|
|
34325
|
+
var outputSchema38 = _zod2.z.object({
|
|
34319
34326
|
items: getItemScriptResponse
|
|
34320
34327
|
});
|
|
34321
34328
|
var GetScriptItemsTool = {
|
|
34322
34329
|
name: "get-script-items",
|
|
34323
34330
|
description: "Gets script items",
|
|
34324
34331
|
inputSchema: getItemScriptQueryParams.shape,
|
|
34325
|
-
outputSchema:
|
|
34332
|
+
outputSchema: outputSchema38.shape,
|
|
34326
34333
|
annotations: { readOnlyHint: true },
|
|
34327
34334
|
slices: ["list"],
|
|
34328
34335
|
handler: (async (model) => {
|
|
@@ -34340,14 +34347,14 @@ var get_script_items_default = _mcpserversdk.withStandardDecorators.call(void 0,
|
|
|
34340
34347
|
|
|
34341
34348
|
|
|
34342
34349
|
|
|
34343
|
-
var
|
|
34350
|
+
var outputSchema39 = _zod2.z.object({
|
|
34344
34351
|
items: getTreeScriptAncestorsResponse
|
|
34345
34352
|
});
|
|
34346
34353
|
var GetScriptTreeAncestorsTool = {
|
|
34347
34354
|
name: "get-script-tree-ancestors",
|
|
34348
34355
|
description: "Gets script tree ancestors",
|
|
34349
34356
|
inputSchema: getTreeScriptAncestorsQueryParams.shape,
|
|
34350
|
-
outputSchema:
|
|
34357
|
+
outputSchema: outputSchema39.shape,
|
|
34351
34358
|
annotations: { readOnlyHint: true },
|
|
34352
34359
|
slices: ["tree"],
|
|
34353
34360
|
handler: (async (model) => {
|
|
@@ -34962,14 +34969,14 @@ var ServerCollection = {
|
|
|
34962
34969
|
|
|
34963
34970
|
|
|
34964
34971
|
|
|
34965
|
-
var
|
|
34972
|
+
var outputSchema40 = _zod2.z.object({
|
|
34966
34973
|
items: getItemStaticFileResponse
|
|
34967
34974
|
});
|
|
34968
34975
|
var GetStaticFilesTool = {
|
|
34969
34976
|
name: "get-static-files",
|
|
34970
34977
|
description: "Lists static files with optional path filtering for browsing the file system",
|
|
34971
34978
|
inputSchema: getItemStaticFileQueryParams.shape,
|
|
34972
|
-
outputSchema:
|
|
34979
|
+
outputSchema: outputSchema40.shape,
|
|
34973
34980
|
annotations: { readOnlyHint: true },
|
|
34974
34981
|
slices: ["read"],
|
|
34975
34982
|
handler: (async (params) => {
|
|
@@ -35029,14 +35036,14 @@ var get_children_default9 = _mcpserversdk.withStandardDecorators.call(void 0, Ge
|
|
|
35029
35036
|
|
|
35030
35037
|
|
|
35031
35038
|
|
|
35032
|
-
var
|
|
35039
|
+
var outputSchema41 = _zod2.z.object({
|
|
35033
35040
|
items: getTreeStaticFileAncestorsResponse
|
|
35034
35041
|
});
|
|
35035
35042
|
var GetStaticFileAncestorsTool = {
|
|
35036
35043
|
name: "get-static-file-ancestors",
|
|
35037
35044
|
description: "Gets ancestor folders for navigation breadcrumbs by descendant path",
|
|
35038
35045
|
inputSchema: getTreeStaticFileAncestorsQueryParams.shape,
|
|
35039
|
-
outputSchema:
|
|
35046
|
+
outputSchema: outputSchema41.shape,
|
|
35040
35047
|
annotations: { readOnlyHint: true },
|
|
35041
35048
|
slices: ["tree"],
|
|
35042
35049
|
handler: (async (params) => {
|
|
@@ -35317,14 +35324,14 @@ var delete_stylesheet_folder_default = _mcpserversdk.withStandardDecorators.call
|
|
|
35317
35324
|
|
|
35318
35325
|
|
|
35319
35326
|
|
|
35320
|
-
var
|
|
35327
|
+
var outputSchema42 = _zod2.z.object({
|
|
35321
35328
|
items: getTreeStylesheetAncestorsResponse
|
|
35322
35329
|
});
|
|
35323
35330
|
var GetStylesheetAncestorsTool = {
|
|
35324
35331
|
name: "get-stylesheet-ancestors",
|
|
35325
35332
|
description: "Gets the ancestors of a stylesheet in the tree structure",
|
|
35326
35333
|
inputSchema: getTreeStylesheetAncestorsQueryParams.shape,
|
|
35327
|
-
outputSchema:
|
|
35334
|
+
outputSchema: outputSchema42.shape,
|
|
35328
35335
|
annotations: { readOnlyHint: true },
|
|
35329
35336
|
slices: ["tree"],
|
|
35330
35337
|
handler: (async (model) => {
|
|
@@ -35384,14 +35391,14 @@ var get_root_default12 = _mcpserversdk.withStandardDecorators.call(void 0, GetSt
|
|
|
35384
35391
|
|
|
35385
35392
|
|
|
35386
35393
|
|
|
35387
|
-
var
|
|
35394
|
+
var outputSchema43 = _zod2.z.object({
|
|
35388
35395
|
items: getItemStylesheetResponse
|
|
35389
35396
|
});
|
|
35390
35397
|
var GetStylesheetSearchTool = {
|
|
35391
35398
|
name: "get-stylesheet-search",
|
|
35392
35399
|
description: "Searches for stylesheets by name or path",
|
|
35393
35400
|
inputSchema: getItemStylesheetQueryParams.shape,
|
|
35394
|
-
outputSchema:
|
|
35401
|
+
outputSchema: outputSchema43.shape,
|
|
35395
35402
|
annotations: { readOnlyHint: true },
|
|
35396
35403
|
slices: ["search"],
|
|
35397
35404
|
handler: (async (model) => {
|
|
@@ -35583,14 +35590,14 @@ var get_template_configuration_default = _mcpserversdk.withStandardDecorators.ca
|
|
|
35583
35590
|
|
|
35584
35591
|
|
|
35585
35592
|
|
|
35586
|
-
var
|
|
35593
|
+
var outputSchema44 = _zod2.z.object({
|
|
35587
35594
|
items: getItemTemplateResponse
|
|
35588
35595
|
});
|
|
35589
35596
|
var GetTemplatesByIdArrayTool = {
|
|
35590
35597
|
name: "get-templates-by-id-array",
|
|
35591
35598
|
description: "Gets templates by IDs (or empty array if no IDs are provided)",
|
|
35592
35599
|
inputSchema: getItemTemplateQueryParams.shape,
|
|
35593
|
-
outputSchema:
|
|
35600
|
+
outputSchema: outputSchema44.shape,
|
|
35594
35601
|
annotations: { readOnlyHint: true },
|
|
35595
35602
|
slices: ["list"],
|
|
35596
35603
|
handler: (async (params) => {
|
|
@@ -35706,14 +35713,14 @@ var get_template_query_settings_default = _mcpserversdk.withStandardDecorators.c
|
|
|
35706
35713
|
|
|
35707
35714
|
|
|
35708
35715
|
|
|
35709
|
-
var
|
|
35716
|
+
var outputSchema45 = _zod2.z.object({
|
|
35710
35717
|
items: getTreeTemplateAncestorsResponse
|
|
35711
35718
|
});
|
|
35712
35719
|
var GetTemplateAncestorsTool = {
|
|
35713
35720
|
name: "get-template-ancestors",
|
|
35714
35721
|
description: "Gets the ancestors of a template by Id",
|
|
35715
35722
|
inputSchema: getTreeTemplateAncestorsQueryParams.shape,
|
|
35716
|
-
outputSchema:
|
|
35723
|
+
outputSchema: outputSchema45.shape,
|
|
35717
35724
|
annotations: { readOnlyHint: true },
|
|
35718
35725
|
slices: ["tree"],
|
|
35719
35726
|
handler: (async (params) => {
|
|
@@ -36090,14 +36097,14 @@ var find_user_default = _mcpserversdk.withStandardDecorators.call(void 0, FindUs
|
|
|
36090
36097
|
|
|
36091
36098
|
|
|
36092
36099
|
|
|
36093
|
-
var
|
|
36100
|
+
var outputSchema46 = _zod2.z.object({
|
|
36094
36101
|
items: getItemUserResponse
|
|
36095
36102
|
});
|
|
36096
36103
|
var GetItemUserTool = {
|
|
36097
36104
|
name: "get-item-user",
|
|
36098
36105
|
description: "Gets user items for selection lists and pickers",
|
|
36099
36106
|
inputSchema: getItemUserQueryParams.shape,
|
|
36100
|
-
outputSchema:
|
|
36107
|
+
outputSchema: outputSchema46.shape,
|
|
36101
36108
|
annotations: { readOnlyHint: true },
|
|
36102
36109
|
slices: ["read"],
|
|
36103
36110
|
handler: (async (params) => {
|
|
@@ -36178,14 +36185,14 @@ var get_user_current_configuration_default = _mcpserversdk.withStandardDecorator
|
|
|
36178
36185
|
|
|
36179
36186
|
|
|
36180
36187
|
|
|
36181
|
-
var
|
|
36188
|
+
var outputSchema47 = _zod2.z.object({
|
|
36182
36189
|
items: getUserCurrentLoginProvidersResponse
|
|
36183
36190
|
});
|
|
36184
36191
|
var GetUserCurrentLoginProvidersTool = {
|
|
36185
36192
|
name: "get-user-current-login-providers",
|
|
36186
36193
|
description: "Gets the current user's available login providers",
|
|
36187
36194
|
inputSchema: {},
|
|
36188
|
-
outputSchema:
|
|
36195
|
+
outputSchema: outputSchema47.shape,
|
|
36189
36196
|
annotations: { readOnlyHint: true },
|
|
36190
36197
|
slices: ["current-user"],
|
|
36191
36198
|
handler: (async () => {
|
|
@@ -36224,14 +36231,14 @@ var get_user_current_permissions_default = _mcpserversdk.withStandardDecorators.
|
|
|
36224
36231
|
|
|
36225
36232
|
|
|
36226
36233
|
|
|
36227
|
-
var
|
|
36234
|
+
var outputSchema48 = _zod2.z.object({
|
|
36228
36235
|
items: getUserCurrentPermissionsDocumentResponse
|
|
36229
36236
|
});
|
|
36230
36237
|
var GetUserCurrentPermissionsDocumentTool = {
|
|
36231
36238
|
name: "get-user-current-permissions-document",
|
|
36232
36239
|
description: "Gets the current user's document permissions for specific documents",
|
|
36233
36240
|
inputSchema: getUserCurrentPermissionsDocumentQueryParams.shape,
|
|
36234
|
-
outputSchema:
|
|
36241
|
+
outputSchema: outputSchema48.shape,
|
|
36235
36242
|
annotations: { readOnlyHint: true },
|
|
36236
36243
|
slices: ["permissions"],
|
|
36237
36244
|
handler: (async (params) => {
|
|
@@ -36558,14 +36565,14 @@ var get_user_group_default = _mcpserversdk.withStandardDecorators.call(void 0, G
|
|
|
36558
36565
|
|
|
36559
36566
|
|
|
36560
36567
|
|
|
36561
|
-
var
|
|
36568
|
+
var outputSchema49 = _zod2.z.object({
|
|
36562
36569
|
items: getItemUserGroupResponse
|
|
36563
36570
|
});
|
|
36564
36571
|
var GetUserGroupByIdArrayTool = {
|
|
36565
36572
|
name: "get-user-group-by-id-array",
|
|
36566
36573
|
description: "Gets user groups by an array of IDs",
|
|
36567
36574
|
inputSchema: getItemUserGroupQueryParams.shape,
|
|
36568
|
-
outputSchema:
|
|
36575
|
+
outputSchema: outputSchema49.shape,
|
|
36569
36576
|
annotations: { readOnlyHint: true },
|
|
36570
36577
|
slices: ["list"],
|
|
36571
36578
|
handler: (async (params) => {
|
|
@@ -36786,14 +36793,14 @@ var get_webhook_by_id_default = _mcpserversdk.withStandardDecorators.call(void 0
|
|
|
36786
36793
|
|
|
36787
36794
|
|
|
36788
36795
|
|
|
36789
|
-
var
|
|
36796
|
+
var outputSchema50 = _zod2.z.object({
|
|
36790
36797
|
items: getItemWebhookResponse
|
|
36791
36798
|
});
|
|
36792
36799
|
var GetWebhookItemTool = {
|
|
36793
36800
|
name: "get-webhook-item",
|
|
36794
36801
|
description: "Gets webhooks by IDs (or empty array if no IDs are provided)",
|
|
36795
36802
|
inputSchema: getItemWebhookQueryParams.shape,
|
|
36796
|
-
outputSchema:
|
|
36803
|
+
outputSchema: outputSchema50.shape,
|
|
36797
36804
|
annotations: { readOnlyHint: true },
|
|
36798
36805
|
slices: ["list"],
|
|
36799
36806
|
handler: (async (params) => {
|