@contentful/mcp-tools 0.12.4 → 0.12.5

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +107 -107
  2. package/dist/index.js +518 -498
  3. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -4125,17 +4125,17 @@ declare class ContentfulMcpTools {
4125
4125
  };
4126
4126
  };
4127
4127
  /**
4128
- * Get ExO component type tools
4128
+ * Get ExO component tools
4129
4129
  */
4130
- getComponentTypeTools(): {
4131
- getComponentType: {
4130
+ getComponentTools(): {
4131
+ getComponent: {
4132
4132
  title: string;
4133
4133
  description: string;
4134
4134
  inputParams: {
4135
4135
  spaceId: zod.ZodString;
4136
4136
  environmentId: zod.ZodString;
4137
4137
  } & {
4138
- componentTypeId: zod.ZodString;
4138
+ componentId: zod.ZodString;
4139
4139
  };
4140
4140
  annotations: {
4141
4141
  readOnlyHint: boolean;
@@ -4145,10 +4145,10 @@ declare class ContentfulMcpTools {
4145
4145
  tool: (params: {
4146
4146
  spaceId: string;
4147
4147
  environmentId: string;
4148
- componentTypeId: string;
4148
+ componentId: string;
4149
4149
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4150
4150
  };
4151
- listComponentTypes: {
4151
+ listComponents: {
4152
4152
  title: string;
4153
4153
  description: string;
4154
4154
  inputParams: {
@@ -4174,7 +4174,7 @@ declare class ContentfulMcpTools {
4174
4174
  pagePrev?: string | undefined;
4175
4175
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4176
4176
  };
4177
- createComponentType: {
4177
+ createComponent: {
4178
4178
  title: string;
4179
4179
  description: string;
4180
4180
  inputParams: {
@@ -4368,7 +4368,7 @@ declare class ContentfulMcpTools {
4368
4368
  type: "DesignToken";
4369
4369
  } | undefined;
4370
4370
  }>]>, "many">;
4371
- componentTree: zod.ZodOptional<zod.ZodArray<zod.ZodType<contentful_management.TreeNode, zod.ZodTypeDef, contentful_management.TreeNode>, "many">>;
4371
+ componentTree: zod.ZodOptional<zod.ZodArray<zod.ZodType<contentful_management.TreeNodeV2, zod.ZodTypeDef, contentful_management.TreeNodeV2>, "many">>;
4372
4372
  slots: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
4373
4373
  id: zod.ZodString;
4374
4374
  name: zod.ZodString;
@@ -4396,15 +4396,15 @@ declare class ContentfulMcpTools {
4396
4396
  } | undefined;
4397
4397
  }>, "many">;
4398
4398
  allowedResources: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
4399
- type: zod.ZodLiteral<"Contentful:ComponentType">;
4399
+ type: zod.ZodLiteral<"Contentful:Component">;
4400
4400
  source: zod.ZodLiteral<"crn:contentful:::experience:spaces/$self/environments/$self">;
4401
4401
  allowedTypes: zod.ZodArray<zod.ZodString, "many">;
4402
4402
  }, "strip", zod.ZodTypeAny, {
4403
- type: "Contentful:ComponentType";
4403
+ type: "Contentful:Component";
4404
4404
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
4405
4405
  allowedTypes: string[];
4406
4406
  }, {
4407
- type: "Contentful:ComponentType";
4407
+ type: "Contentful:Component";
4408
4408
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
4409
4409
  allowedTypes: string[];
4410
4410
  }>, "many">>;
@@ -4419,7 +4419,7 @@ declare class ContentfulMcpTools {
4419
4419
  } | undefined;
4420
4420
  }[];
4421
4421
  allowedResources?: {
4422
- type: "Contentful:ComponentType";
4422
+ type: "Contentful:Component";
4423
4423
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
4424
4424
  allowedTypes: string[];
4425
4425
  }[] | undefined;
@@ -4434,7 +4434,7 @@ declare class ContentfulMcpTools {
4434
4434
  } | undefined;
4435
4435
  }[];
4436
4436
  allowedResources?: {
4437
- type: "Contentful:ComponentType";
4437
+ type: "Contentful:Component";
4438
4438
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
4439
4439
  allowedTypes: string[];
4440
4440
  }[] | undefined;
@@ -4614,22 +4614,22 @@ declare class ContentfulMcpTools {
4614
4614
  } | undefined;
4615
4615
  }[];
4616
4616
  allowedResources?: {
4617
- type: "Contentful:ComponentType";
4617
+ type: "Contentful:Component";
4618
4618
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
4619
4619
  allowedTypes: string[];
4620
4620
  }[] | undefined;
4621
4621
  }[] | undefined;
4622
- componentTree?: contentful_management.TreeNode[] | undefined;
4622
+ componentTree?: contentful_management.TreeNodeV2[] | undefined;
4623
4623
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4624
4624
  };
4625
- upsertComponentType: {
4625
+ upsertComponent: {
4626
4626
  title: string;
4627
4627
  description: string;
4628
4628
  inputParams: {
4629
4629
  spaceId: zod.ZodString;
4630
4630
  environmentId: zod.ZodString;
4631
4631
  } & {
4632
- componentTypeId: zod.ZodString;
4632
+ componentId: zod.ZodString;
4633
4633
  version: zod.ZodNumber;
4634
4634
  name: zod.ZodOptional<zod.ZodString>;
4635
4635
  description: zod.ZodOptional<zod.ZodString>;
@@ -4818,7 +4818,7 @@ declare class ContentfulMcpTools {
4818
4818
  type: "DesignToken";
4819
4819
  } | undefined;
4820
4820
  }>]>, "many">>;
4821
- componentTree: zod.ZodOptional<zod.ZodArray<zod.ZodType<contentful_management.TreeNode, zod.ZodTypeDef, contentful_management.TreeNode>, "many">>;
4821
+ componentTree: zod.ZodOptional<zod.ZodArray<zod.ZodType<contentful_management.TreeNodeV2, zod.ZodTypeDef, contentful_management.TreeNodeV2>, "many">>;
4822
4822
  slots: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
4823
4823
  id: zod.ZodString;
4824
4824
  name: zod.ZodString;
@@ -4846,15 +4846,15 @@ declare class ContentfulMcpTools {
4846
4846
  } | undefined;
4847
4847
  }>, "many">;
4848
4848
  allowedResources: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
4849
- type: zod.ZodLiteral<"Contentful:ComponentType">;
4849
+ type: zod.ZodLiteral<"Contentful:Component">;
4850
4850
  source: zod.ZodLiteral<"crn:contentful:::experience:spaces/$self/environments/$self">;
4851
4851
  allowedTypes: zod.ZodArray<zod.ZodString, "many">;
4852
4852
  }, "strip", zod.ZodTypeAny, {
4853
- type: "Contentful:ComponentType";
4853
+ type: "Contentful:Component";
4854
4854
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
4855
4855
  allowedTypes: string[];
4856
4856
  }, {
4857
- type: "Contentful:ComponentType";
4857
+ type: "Contentful:Component";
4858
4858
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
4859
4859
  allowedTypes: string[];
4860
4860
  }>, "many">>;
@@ -4869,7 +4869,7 @@ declare class ContentfulMcpTools {
4869
4869
  } | undefined;
4870
4870
  }[];
4871
4871
  allowedResources?: {
4872
- type: "Contentful:ComponentType";
4872
+ type: "Contentful:Component";
4873
4873
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
4874
4874
  allowedTypes: string[];
4875
4875
  }[] | undefined;
@@ -4884,7 +4884,7 @@ declare class ContentfulMcpTools {
4884
4884
  } | undefined;
4885
4885
  }[];
4886
4886
  allowedResources?: {
4887
- type: "Contentful:ComponentType";
4887
+ type: "Contentful:Component";
4888
4888
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
4889
4889
  allowedTypes: string[];
4890
4890
  }[] | undefined;
@@ -4986,7 +4986,7 @@ declare class ContentfulMcpTools {
4986
4986
  version: number;
4987
4987
  spaceId: string;
4988
4988
  environmentId: string;
4989
- componentTypeId: string;
4989
+ componentId: string;
4990
4990
  metadata?: {
4991
4991
  tags?: {
4992
4992
  sys: {
@@ -5054,7 +5054,7 @@ declare class ContentfulMcpTools {
5054
5054
  } | undefined;
5055
5055
  }[];
5056
5056
  allowedResources?: {
5057
- type: "Contentful:ComponentType";
5057
+ type: "Contentful:Component";
5058
5058
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
5059
5059
  allowedTypes: string[];
5060
5060
  }[] | undefined;
@@ -5071,17 +5071,17 @@ declare class ContentfulMcpTools {
5071
5071
  displayName: string;
5072
5072
  previewSize: string;
5073
5073
  }[] | undefined;
5074
- componentTree?: contentful_management.TreeNode[] | undefined;
5074
+ componentTree?: contentful_management.TreeNodeV2[] | undefined;
5075
5075
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
5076
5076
  };
5077
- deleteComponentType: {
5077
+ deleteComponent: {
5078
5078
  title: string;
5079
5079
  description: string;
5080
5080
  inputParams: {
5081
5081
  spaceId: zod.ZodString;
5082
5082
  environmentId: zod.ZodString;
5083
5083
  } & {
5084
- componentTypeId: zod.ZodString;
5084
+ componentId: zod.ZodString;
5085
5085
  confirm: zod.ZodOptional<zod.ZodBoolean>;
5086
5086
  confirmToken: zod.ZodOptional<zod.ZodString>;
5087
5087
  };
@@ -5094,19 +5094,19 @@ declare class ContentfulMcpTools {
5094
5094
  tool: (params: {
5095
5095
  spaceId: string;
5096
5096
  environmentId: string;
5097
- componentTypeId: string;
5097
+ componentId: string;
5098
5098
  confirmToken?: string | undefined;
5099
5099
  confirm?: boolean | undefined;
5100
5100
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
5101
5101
  };
5102
- publishComponentType: {
5102
+ publishComponent: {
5103
5103
  title: string;
5104
5104
  description: string;
5105
5105
  inputParams: {
5106
5106
  spaceId: zod.ZodString;
5107
5107
  environmentId: zod.ZodString;
5108
5108
  } & {
5109
- componentTypeId: zod.ZodString;
5109
+ componentId: zod.ZodString;
5110
5110
  version: zod.ZodNumber;
5111
5111
  };
5112
5112
  annotations: {
@@ -5119,17 +5119,17 @@ declare class ContentfulMcpTools {
5119
5119
  version: number;
5120
5120
  spaceId: string;
5121
5121
  environmentId: string;
5122
- componentTypeId: string;
5122
+ componentId: string;
5123
5123
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
5124
5124
  };
5125
- unpublishComponentType: {
5125
+ unpublishComponent: {
5126
5126
  title: string;
5127
5127
  description: string;
5128
5128
  inputParams: {
5129
5129
  spaceId: zod.ZodString;
5130
5130
  environmentId: zod.ZodString;
5131
5131
  } & {
5132
- componentTypeId: zod.ZodString;
5132
+ componentId: zod.ZodString;
5133
5133
  version: zod.ZodNumber;
5134
5134
  };
5135
5135
  annotations: {
@@ -5142,22 +5142,22 @@ declare class ContentfulMcpTools {
5142
5142
  version: number;
5143
5143
  spaceId: string;
5144
5144
  environmentId: string;
5145
- componentTypeId: string;
5145
+ componentId: string;
5146
5146
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
5147
5147
  };
5148
5148
  };
5149
5149
  /**
5150
- * Get ExO template tools
5150
+ * Get ExO experience template tools
5151
5151
  */
5152
- getTemplateTools(): {
5153
- getTemplate: {
5152
+ getExperienceTemplateTools(): {
5153
+ getExperienceTemplate: {
5154
5154
  title: string;
5155
5155
  description: string;
5156
5156
  inputParams: {
5157
5157
  spaceId: zod.ZodString;
5158
5158
  environmentId: zod.ZodString;
5159
5159
  } & {
5160
- templateId: zod.ZodString;
5160
+ experienceTemplateId: zod.ZodString;
5161
5161
  };
5162
5162
  annotations: {
5163
5163
  readOnlyHint: boolean;
@@ -5167,10 +5167,10 @@ declare class ContentfulMcpTools {
5167
5167
  tool: (params: {
5168
5168
  spaceId: string;
5169
5169
  environmentId: string;
5170
- templateId: string;
5170
+ experienceTemplateId: string;
5171
5171
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
5172
5172
  };
5173
- listTemplates: {
5173
+ listExperienceTemplates: {
5174
5174
  title: string;
5175
5175
  description: string;
5176
5176
  inputParams: {
@@ -5196,7 +5196,7 @@ declare class ContentfulMcpTools {
5196
5196
  pagePrev?: string | undefined;
5197
5197
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
5198
5198
  };
5199
- createTemplate: {
5199
+ createExperienceTemplate: {
5200
5200
  title: string;
5201
5201
  description: string;
5202
5202
  inputParams: {
@@ -5390,7 +5390,7 @@ declare class ContentfulMcpTools {
5390
5390
  type: "DesignToken";
5391
5391
  } | undefined;
5392
5392
  }>]>, "many">;
5393
- componentTree: zod.ZodOptional<zod.ZodArray<zod.ZodType<contentful_management.TreeNode, zod.ZodTypeDef, contentful_management.TreeNode>, "many">>;
5393
+ componentTree: zod.ZodOptional<zod.ZodArray<zod.ZodType<contentful_management.TreeNodeV2, zod.ZodTypeDef, contentful_management.TreeNodeV2>, "many">>;
5394
5394
  slots: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
5395
5395
  id: zod.ZodString;
5396
5396
  name: zod.ZodString;
@@ -5418,15 +5418,15 @@ declare class ContentfulMcpTools {
5418
5418
  } | undefined;
5419
5419
  }>, "many">;
5420
5420
  allowedResources: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
5421
- type: zod.ZodLiteral<"Contentful:ComponentType">;
5421
+ type: zod.ZodLiteral<"Contentful:Component">;
5422
5422
  source: zod.ZodLiteral<"crn:contentful:::experience:spaces/$self/environments/$self">;
5423
5423
  allowedTypes: zod.ZodArray<zod.ZodString, "many">;
5424
5424
  }, "strip", zod.ZodTypeAny, {
5425
- type: "Contentful:ComponentType";
5425
+ type: "Contentful:Component";
5426
5426
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
5427
5427
  allowedTypes: string[];
5428
5428
  }, {
5429
- type: "Contentful:ComponentType";
5429
+ type: "Contentful:Component";
5430
5430
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
5431
5431
  allowedTypes: string[];
5432
5432
  }>, "many">>;
@@ -5441,7 +5441,7 @@ declare class ContentfulMcpTools {
5441
5441
  } | undefined;
5442
5442
  }[];
5443
5443
  allowedResources?: {
5444
- type: "Contentful:ComponentType";
5444
+ type: "Contentful:Component";
5445
5445
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
5446
5446
  allowedTypes: string[];
5447
5447
  }[] | undefined;
@@ -5456,7 +5456,7 @@ declare class ContentfulMcpTools {
5456
5456
  } | undefined;
5457
5457
  }[];
5458
5458
  allowedResources?: {
5459
- type: "Contentful:ComponentType";
5459
+ type: "Contentful:Component";
5460
5460
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
5461
5461
  allowedTypes: string[];
5462
5462
  }[] | undefined;
@@ -5636,22 +5636,22 @@ declare class ContentfulMcpTools {
5636
5636
  } | undefined;
5637
5637
  }[];
5638
5638
  allowedResources?: {
5639
- type: "Contentful:ComponentType";
5639
+ type: "Contentful:Component";
5640
5640
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
5641
5641
  allowedTypes: string[];
5642
5642
  }[] | undefined;
5643
5643
  }[] | undefined;
5644
- componentTree?: contentful_management.TreeNode[] | undefined;
5644
+ componentTree?: contentful_management.TreeNodeV2[] | undefined;
5645
5645
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
5646
5646
  };
5647
- upsertTemplate: {
5647
+ upsertExperienceTemplate: {
5648
5648
  title: string;
5649
5649
  description: string;
5650
5650
  inputParams: {
5651
5651
  spaceId: zod.ZodString;
5652
5652
  environmentId: zod.ZodString;
5653
5653
  } & {
5654
- templateId: zod.ZodString;
5654
+ experienceTemplateId: zod.ZodString;
5655
5655
  version: zod.ZodNumber;
5656
5656
  name: zod.ZodOptional<zod.ZodString>;
5657
5657
  description: zod.ZodOptional<zod.ZodString>;
@@ -5840,7 +5840,7 @@ declare class ContentfulMcpTools {
5840
5840
  type: "DesignToken";
5841
5841
  } | undefined;
5842
5842
  }>]>, "many">>;
5843
- componentTree: zod.ZodOptional<zod.ZodArray<zod.ZodType<contentful_management.TreeNode, zod.ZodTypeDef, contentful_management.TreeNode>, "many">>;
5843
+ componentTree: zod.ZodOptional<zod.ZodArray<zod.ZodType<contentful_management.TreeNodeV2, zod.ZodTypeDef, contentful_management.TreeNodeV2>, "many">>;
5844
5844
  slots: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
5845
5845
  id: zod.ZodString;
5846
5846
  name: zod.ZodString;
@@ -5868,15 +5868,15 @@ declare class ContentfulMcpTools {
5868
5868
  } | undefined;
5869
5869
  }>, "many">;
5870
5870
  allowedResources: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
5871
- type: zod.ZodLiteral<"Contentful:ComponentType">;
5871
+ type: zod.ZodLiteral<"Contentful:Component">;
5872
5872
  source: zod.ZodLiteral<"crn:contentful:::experience:spaces/$self/environments/$self">;
5873
5873
  allowedTypes: zod.ZodArray<zod.ZodString, "many">;
5874
5874
  }, "strip", zod.ZodTypeAny, {
5875
- type: "Contentful:ComponentType";
5875
+ type: "Contentful:Component";
5876
5876
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
5877
5877
  allowedTypes: string[];
5878
5878
  }, {
5879
- type: "Contentful:ComponentType";
5879
+ type: "Contentful:Component";
5880
5880
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
5881
5881
  allowedTypes: string[];
5882
5882
  }>, "many">>;
@@ -5891,7 +5891,7 @@ declare class ContentfulMcpTools {
5891
5891
  } | undefined;
5892
5892
  }[];
5893
5893
  allowedResources?: {
5894
- type: "Contentful:ComponentType";
5894
+ type: "Contentful:Component";
5895
5895
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
5896
5896
  allowedTypes: string[];
5897
5897
  }[] | undefined;
@@ -5906,7 +5906,7 @@ declare class ContentfulMcpTools {
5906
5906
  } | undefined;
5907
5907
  }[];
5908
5908
  allowedResources?: {
5909
- type: "Contentful:ComponentType";
5909
+ type: "Contentful:Component";
5910
5910
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
5911
5911
  allowedTypes: string[];
5912
5912
  }[] | undefined;
@@ -6008,7 +6008,7 @@ declare class ContentfulMcpTools {
6008
6008
  version: number;
6009
6009
  spaceId: string;
6010
6010
  environmentId: string;
6011
- templateId: string;
6011
+ experienceTemplateId: string;
6012
6012
  metadata?: {
6013
6013
  tags?: {
6014
6014
  sys: {
@@ -6076,7 +6076,7 @@ declare class ContentfulMcpTools {
6076
6076
  } | undefined;
6077
6077
  }[];
6078
6078
  allowedResources?: {
6079
- type: "Contentful:ComponentType";
6079
+ type: "Contentful:Component";
6080
6080
  source: "crn:contentful:::experience:spaces/$self/environments/$self";
6081
6081
  allowedTypes: string[];
6082
6082
  }[] | undefined;
@@ -6093,17 +6093,17 @@ declare class ContentfulMcpTools {
6093
6093
  displayName: string;
6094
6094
  previewSize: string;
6095
6095
  }[] | undefined;
6096
- componentTree?: contentful_management.TreeNode[] | undefined;
6096
+ componentTree?: contentful_management.TreeNodeV2[] | undefined;
6097
6097
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
6098
6098
  };
6099
- deleteTemplate: {
6099
+ deleteExperienceTemplate: {
6100
6100
  title: string;
6101
6101
  description: string;
6102
6102
  inputParams: {
6103
6103
  spaceId: zod.ZodString;
6104
6104
  environmentId: zod.ZodString;
6105
6105
  } & {
6106
- templateId: zod.ZodString;
6106
+ experienceTemplateId: zod.ZodString;
6107
6107
  confirm: zod.ZodOptional<zod.ZodBoolean>;
6108
6108
  confirmToken: zod.ZodOptional<zod.ZodString>;
6109
6109
  };
@@ -6116,19 +6116,19 @@ declare class ContentfulMcpTools {
6116
6116
  tool: (params: {
6117
6117
  spaceId: string;
6118
6118
  environmentId: string;
6119
- templateId: string;
6119
+ experienceTemplateId: string;
6120
6120
  confirmToken?: string | undefined;
6121
6121
  confirm?: boolean | undefined;
6122
6122
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
6123
6123
  };
6124
- publishTemplate: {
6124
+ publishExperienceTemplate: {
6125
6125
  title: string;
6126
6126
  description: string;
6127
6127
  inputParams: {
6128
6128
  spaceId: zod.ZodString;
6129
6129
  environmentId: zod.ZodString;
6130
6130
  } & {
6131
- templateId: zod.ZodString;
6131
+ experienceTemplateId: zod.ZodString;
6132
6132
  version: zod.ZodNumber;
6133
6133
  };
6134
6134
  annotations: {
@@ -6141,17 +6141,17 @@ declare class ContentfulMcpTools {
6141
6141
  version: number;
6142
6142
  spaceId: string;
6143
6143
  environmentId: string;
6144
- templateId: string;
6144
+ experienceTemplateId: string;
6145
6145
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
6146
6146
  };
6147
- unpublishTemplate: {
6147
+ unpublishExperienceTemplate: {
6148
6148
  title: string;
6149
6149
  description: string;
6150
6150
  inputParams: {
6151
6151
  spaceId: zod.ZodString;
6152
6152
  environmentId: zod.ZodString;
6153
6153
  } & {
6154
- templateId: zod.ZodString;
6154
+ experienceTemplateId: zod.ZodString;
6155
6155
  version: zod.ZodNumber;
6156
6156
  };
6157
6157
  annotations: {
@@ -6164,7 +6164,7 @@ declare class ContentfulMcpTools {
6164
6164
  version: number;
6165
6165
  spaceId: string;
6166
6166
  environmentId: string;
6167
- templateId: string;
6167
+ experienceTemplateId: string;
6168
6168
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
6169
6169
  };
6170
6170
  };
@@ -6227,30 +6227,30 @@ declare class ContentfulMcpTools {
6227
6227
  } & {
6228
6228
  name: zod.ZodString;
6229
6229
  description: zod.ZodString;
6230
- template: zod.ZodObject<{
6230
+ experienceTemplate: zod.ZodObject<{
6231
6231
  sys: zod.ZodObject<{
6232
6232
  type: zod.ZodLiteral<"ResourceLink">;
6233
- linkType: zod.ZodLiteral<"Contentful:Template">;
6233
+ linkType: zod.ZodLiteral<"Contentful:ExperienceTemplate">;
6234
6234
  urn: zod.ZodString;
6235
6235
  }, "strip", zod.ZodTypeAny, {
6236
6236
  type: "ResourceLink";
6237
- linkType: "Contentful:Template";
6237
+ linkType: "Contentful:ExperienceTemplate";
6238
6238
  urn: string;
6239
6239
  }, {
6240
6240
  type: "ResourceLink";
6241
- linkType: "Contentful:Template";
6241
+ linkType: "Contentful:ExperienceTemplate";
6242
6242
  urn: string;
6243
6243
  }>;
6244
6244
  }, "strip", zod.ZodTypeAny, {
6245
6245
  sys: {
6246
6246
  type: "ResourceLink";
6247
- linkType: "Contentful:Template";
6247
+ linkType: "Contentful:ExperienceTemplate";
6248
6248
  urn: string;
6249
6249
  };
6250
6250
  }, {
6251
6251
  sys: {
6252
6252
  type: "ResourceLink";
6253
- linkType: "Contentful:Template";
6253
+ linkType: "Contentful:ExperienceTemplate";
6254
6254
  urn: string;
6255
6255
  };
6256
6256
  }>;
@@ -6460,10 +6460,10 @@ declare class ContentfulMcpTools {
6460
6460
  description: string;
6461
6461
  spaceId: string;
6462
6462
  environmentId: string;
6463
- template: {
6463
+ experienceTemplate: {
6464
6464
  sys: {
6465
6465
  type: "ResourceLink";
6466
- linkType: "Contentful:Template";
6466
+ linkType: "Contentful:ExperienceTemplate";
6467
6467
  urn: string;
6468
6468
  };
6469
6469
  };
@@ -8847,17 +8847,17 @@ declare class ContentfulMcpTools {
8847
8847
  };
8848
8848
  };
8849
8849
  /**
8850
- * Get ExO fragment tools
8850
+ * Get ExO experience fragment tools
8851
8851
  */
8852
- getFragmentTools(): {
8853
- getFragment: {
8852
+ getExperienceFragmentTools(): {
8853
+ getExperienceFragment: {
8854
8854
  title: string;
8855
8855
  description: string;
8856
8856
  inputParams: {
8857
8857
  spaceId: zod.ZodString;
8858
8858
  environmentId: zod.ZodString;
8859
8859
  } & {
8860
- fragmentId: zod.ZodString;
8860
+ experienceFragmentId: zod.ZodString;
8861
8861
  };
8862
8862
  annotations: {
8863
8863
  readOnlyHint: boolean;
@@ -8867,10 +8867,10 @@ declare class ContentfulMcpTools {
8867
8867
  tool: (params: {
8868
8868
  spaceId: string;
8869
8869
  environmentId: string;
8870
- fragmentId: string;
8870
+ experienceFragmentId: string;
8871
8871
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8872
8872
  };
8873
- listFragments: {
8873
+ listExperienceFragments: {
8874
8874
  title: string;
8875
8875
  description: string;
8876
8876
  inputParams: {
@@ -8896,7 +8896,7 @@ declare class ContentfulMcpTools {
8896
8896
  pagePrev?: string | undefined;
8897
8897
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8898
8898
  };
8899
- createFragment: {
8899
+ createExperienceFragment: {
8900
8900
  title: string;
8901
8901
  description: string;
8902
8902
  inputParams: {
@@ -8905,30 +8905,30 @@ declare class ContentfulMcpTools {
8905
8905
  } & {
8906
8906
  name: zod.ZodString;
8907
8907
  description: zod.ZodString;
8908
- componentType: zod.ZodObject<{
8908
+ component: zod.ZodObject<{
8909
8909
  sys: zod.ZodObject<{
8910
8910
  type: zod.ZodLiteral<"ResourceLink">;
8911
- linkType: zod.ZodLiteral<"Contentful:ComponentType">;
8911
+ linkType: zod.ZodLiteral<"Contentful:Component">;
8912
8912
  urn: zod.ZodString;
8913
8913
  }, "strip", zod.ZodTypeAny, {
8914
8914
  type: "ResourceLink";
8915
- linkType: "Contentful:ComponentType";
8915
+ linkType: "Contentful:Component";
8916
8916
  urn: string;
8917
8917
  }, {
8918
8918
  type: "ResourceLink";
8919
- linkType: "Contentful:ComponentType";
8919
+ linkType: "Contentful:Component";
8920
8920
  urn: string;
8921
8921
  }>;
8922
8922
  }, "strip", zod.ZodTypeAny, {
8923
8923
  sys: {
8924
8924
  type: "ResourceLink";
8925
- linkType: "Contentful:ComponentType";
8925
+ linkType: "Contentful:Component";
8926
8926
  urn: string;
8927
8927
  };
8928
8928
  }, {
8929
8929
  sys: {
8930
8930
  type: "ResourceLink";
8931
- linkType: "Contentful:ComponentType";
8931
+ linkType: "Contentful:Component";
8932
8932
  urn: string;
8933
8933
  };
8934
8934
  }>;
@@ -9138,10 +9138,10 @@ declare class ContentfulMcpTools {
9138
9138
  description: string;
9139
9139
  spaceId: string;
9140
9140
  environmentId: string;
9141
- componentType: {
9141
+ component: {
9142
9142
  sys: {
9143
9143
  type: "ResourceLink";
9144
- linkType: "Contentful:ComponentType";
9144
+ linkType: "Contentful:Component";
9145
9145
  urn: string;
9146
9146
  };
9147
9147
  };
@@ -9192,14 +9192,14 @@ declare class ContentfulMcpTools {
9192
9192
  } | undefined;
9193
9193
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
9194
9194
  };
9195
- updateFragment: {
9195
+ updateExperienceFragment: {
9196
9196
  title: string;
9197
9197
  description: string;
9198
9198
  inputParams: {
9199
9199
  spaceId: zod.ZodString;
9200
9200
  environmentId: zod.ZodString;
9201
9201
  } & {
9202
- fragmentId: zod.ZodString;
9202
+ experienceFragmentId: zod.ZodString;
9203
9203
  version: zod.ZodNumber;
9204
9204
  name: zod.ZodOptional<zod.ZodString>;
9205
9205
  description: zod.ZodOptional<zod.ZodString>;
@@ -9408,7 +9408,7 @@ declare class ContentfulMcpTools {
9408
9408
  version: number;
9409
9409
  spaceId: string;
9410
9410
  environmentId: string;
9411
- fragmentId: string;
9411
+ experienceFragmentId: string;
9412
9412
  metadata?: {
9413
9413
  name?: string | undefined;
9414
9414
  tags?: {
@@ -9458,14 +9458,14 @@ declare class ContentfulMcpTools {
9458
9458
  }[] | undefined;
9459
9459
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
9460
9460
  };
9461
- deleteFragment: {
9461
+ deleteExperienceFragment: {
9462
9462
  title: string;
9463
9463
  description: string;
9464
9464
  inputParams: {
9465
9465
  spaceId: zod.ZodString;
9466
9466
  environmentId: zod.ZodString;
9467
9467
  } & {
9468
- fragmentId: zod.ZodString;
9468
+ experienceFragmentId: zod.ZodString;
9469
9469
  confirm: zod.ZodOptional<zod.ZodBoolean>;
9470
9470
  confirmToken: zod.ZodOptional<zod.ZodString>;
9471
9471
  };
@@ -9478,19 +9478,19 @@ declare class ContentfulMcpTools {
9478
9478
  tool: (params: {
9479
9479
  spaceId: string;
9480
9480
  environmentId: string;
9481
- fragmentId: string;
9481
+ experienceFragmentId: string;
9482
9482
  confirmToken?: string | undefined;
9483
9483
  confirm?: boolean | undefined;
9484
9484
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
9485
9485
  };
9486
- publishFragment: {
9486
+ publishExperienceFragment: {
9487
9487
  title: string;
9488
9488
  description: string;
9489
9489
  inputParams: {
9490
9490
  spaceId: zod.ZodString;
9491
9491
  environmentId: zod.ZodString;
9492
9492
  } & {
9493
- fragmentId: zod.ZodString;
9493
+ experienceFragmentId: zod.ZodString;
9494
9494
  version: zod.ZodNumber;
9495
9495
  };
9496
9496
  annotations: {
@@ -9503,17 +9503,17 @@ declare class ContentfulMcpTools {
9503
9503
  version: number;
9504
9504
  spaceId: string;
9505
9505
  environmentId: string;
9506
- fragmentId: string;
9506
+ experienceFragmentId: string;
9507
9507
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
9508
9508
  };
9509
- unpublishFragment: {
9509
+ unpublishExperienceFragment: {
9510
9510
  title: string;
9511
9511
  description: string;
9512
9512
  inputParams: {
9513
9513
  spaceId: zod.ZodString;
9514
9514
  environmentId: zod.ZodString;
9515
9515
  } & {
9516
- fragmentId: zod.ZodString;
9516
+ experienceFragmentId: zod.ZodString;
9517
9517
  version: zod.ZodNumber;
9518
9518
  };
9519
9519
  annotations: {
@@ -9526,7 +9526,7 @@ declare class ContentfulMcpTools {
9526
9526
  version: number;
9527
9527
  spaceId: string;
9528
9528
  environmentId: string;
9529
- fragmentId: string;
9529
+ experienceFragmentId: string;
9530
9530
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
9531
9531
  };
9532
9532
  };
@@ -10755,8 +10755,8 @@ declare function hasExoM1Entitlement(config: ContentfulConfig): Promise<boolean>
10755
10755
  * instructions.test.ts guards against regressions.
10756
10756
  */
10757
10757
  declare const CORE_INVARIANTS = "# Core operating rules\n\n- **Schema first.** Before creating or finding content, inspect the environment's schema: list available types and inspect their fields. This prevents failed operations and ensures you use the right type and field names.\n- **Edit safely.** Before updating any item, fetch it first to get the current `sys.version`, then pass that version to the update call. The version is required and prevents overwriting concurrent changes.\n- **Bulk cap.** Bulk publish/unpublish/archive/unarchive operations accept at most 10 IDs per call by default. This cap does not apply to creating or updating items.\n- **Ask when ambiguous.** If multiple spaces or environments are available, ask the user which to use. Do not guess.";
10758
- declare const SEARCHING_GUIDANCE = "# Searching for content\n\n- **Schema first.** When users ask about specific content, discover the relevant schema before searching: list the environment's available types and inspect a type's fields so you query on real field names. This prevents wasted queries. Use whichever primitives the environment exposes \u2014 classic content types and entries, or Experience Orchestration component types and experiences.\n- **Then search.** Query using the correct type and field names. Prefer semantic search when the request is conceptual rather than an exact field match.\n- **Retry thoughtfully.** If a query returns no results, retry 2-3 times: relax filters, use more general terms, or check for typos in field names.\n- **Multi-step reference queries.** For requests that span references (e.g. \"posts by Magnus\"), first inspect the schema to confirm the reference field, then query for the referenced item to get its ID, then filter the primary query on that ID. If several items match, show them all and ask.";
10758
+ declare const SEARCHING_GUIDANCE = "# Searching for content\n\n- **Schema first.** When users ask about specific content, discover the relevant schema before searching: list the environment's available types and inspect a type's fields so you query on real field names. This prevents wasted queries. Use whichever primitives the environment exposes \u2014 classic content types and entries, or Experience Orchestration components and experiences.\n- **Then search.** Query using the correct type and field names. Prefer semantic search when the request is conceptual rather than an exact field match.\n- **Retry thoughtfully.** If a query returns no results, retry 2-3 times: relax filters, use more general terms, or check for typos in field names.\n- **Multi-step reference queries.** For requests that span references (e.g. \"posts by Magnus\"), first inspect the schema to confirm the reference field, then query for the referenced item to get its ID, then filter the primary query on that ID. If several items match, show them all and ask.";
10759
10759
  declare const CONVENTIONS_GUIDANCE = "# Response and workflow conventions\n\n- **Plan, then act.** Before a tool call, think about what you need, pick the right tool, and briefly tell the user what you are about to do.\n- **Persist.** Keep going until the request is fully resolved; do not stop at the first error. On failure, explain what went wrong and immediately try a different approach \u2014 never apologize for tool errors.\n- **Clarify resources.** If multiple spaces or environments exist, always ask which to use before acting.\n- **Format for readability.** Use markdown for complex data; show the most important fields of an entry first; keep responses concise but complete.\n- **Prefer bulk.** If you would call the same tool many times, check whether it supports multiple IDs and condense into one call (respecting the 10-ID cap on publish-family operations).";
10760
- declare const EXO_DISPOSITION = "# Tool disposition: Experience Orchestration by default\n\nExperience Orchestration (ExO) tools are enabled. Use ExO primitives \u2014 Component Types, Experiences, Templates, Fragments, and Data Assemblies \u2014 for all content modeling and authoring. Do not create classic content types or entries unless the user explicitly instructs you to. If you are unsure how to model something with ExO, inspect the tool schemas and proceed with ExO.";
10760
+ declare const EXO_DISPOSITION = "# Tool disposition: Experience Orchestration by default\n\nExperience Orchestration (ExO) tools are enabled. Use ExO primitives \u2014 Components, Experiences, Experience Templates, Experience Fragments, and Data Assemblies \u2014 for all content modeling and authoring. Do not create classic content types or entries unless the user explicitly instructs you to. If you are unsure how to model something with ExO, inspect the tool schemas and proceed with ExO.";
10761
10761
 
10762
10762
  export { CONVENTIONS_GUIDANCE, CORE_INVARIANTS, type ContentfulConfig, ContentfulMcpTools, EXO_DISPOSITION, EXO_M1_FEATURE, SEARCHING_GUIDANCE, hasExoM1Entitlement };