@contentful/mcp-tools 0.12.12 → 0.12.14

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.d.ts CHANGED
@@ -4238,7 +4238,7 @@ declare class ContentfulMcpTools {
4238
4238
  componentId: zod.ZodOptional<zod.ZodString>;
4239
4239
  name: zod.ZodString;
4240
4240
  description: zod.ZodString;
4241
- viewports: zod.ZodArray<zod.ZodObject<{
4241
+ viewports: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
4242
4242
  id: zod.ZodString;
4243
4243
  query: zod.ZodString;
4244
4244
  displayName: zod.ZodString;
@@ -4253,7 +4253,7 @@ declare class ContentfulMcpTools {
4253
4253
  query: string;
4254
4254
  displayName: string;
4255
4255
  previewSize: string;
4256
- }>, "many">;
4256
+ }>, "many">>;
4257
4257
  contentProperties: zod.ZodArray<zod.ZodIntersection<zod.ZodType<contentful_management.DataTypeDefinition, zod.ZodTypeDef, contentful_management.DataTypeDefinition>, zod.ZodObject<{
4258
4258
  id: zod.ZodString;
4259
4259
  name: zod.ZodString;
@@ -4636,12 +4636,6 @@ declare class ContentfulMcpTools {
4636
4636
  id: string;
4637
4637
  defaultValue?: unknown;
4638
4638
  })[];
4639
- viewports: {
4640
- id: string;
4641
- query: string;
4642
- displayName: string;
4643
- previewSize: string;
4644
- }[];
4645
4639
  metadata?: {
4646
4640
  tags?: {
4647
4641
  sys: {
@@ -4675,6 +4669,12 @@ declare class ContentfulMcpTools {
4675
4669
  allowedTypes: string[];
4676
4670
  }[] | undefined;
4677
4671
  }[] | undefined;
4672
+ viewports?: {
4673
+ id: string;
4674
+ query: string;
4675
+ displayName: string;
4676
+ previewSize: string;
4677
+ }[] | undefined;
4678
4678
  componentTree?: contentful_management.TreeNodeV2[] | undefined;
4679
4679
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4680
4680
  };
@@ -5261,7 +5261,7 @@ declare class ContentfulMcpTools {
5261
5261
  } & {
5262
5262
  name: zod.ZodString;
5263
5263
  description: zod.ZodString;
5264
- viewports: zod.ZodArray<zod.ZodObject<{
5264
+ viewports: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
5265
5265
  id: zod.ZodString;
5266
5266
  query: zod.ZodString;
5267
5267
  displayName: zod.ZodString;
@@ -5276,7 +5276,7 @@ declare class ContentfulMcpTools {
5276
5276
  query: string;
5277
5277
  displayName: string;
5278
5278
  previewSize: string;
5279
- }>, "many">;
5279
+ }>, "many">>;
5280
5280
  contentProperties: zod.ZodArray<zod.ZodIntersection<zod.ZodType<contentful_management.DataTypeDefinition, zod.ZodTypeDef, contentful_management.DataTypeDefinition>, zod.ZodObject<{
5281
5281
  id: zod.ZodString;
5282
5282
  name: zod.ZodString;
@@ -5659,12 +5659,6 @@ declare class ContentfulMcpTools {
5659
5659
  id: string;
5660
5660
  defaultValue?: unknown;
5661
5661
  })[];
5662
- viewports: {
5663
- id: string;
5664
- query: string;
5665
- displayName: string;
5666
- previewSize: string;
5667
- }[];
5668
5662
  metadata?: {
5669
5663
  tags?: {
5670
5664
  sys: {
@@ -5697,6 +5691,12 @@ declare class ContentfulMcpTools {
5697
5691
  allowedTypes: string[];
5698
5692
  }[] | undefined;
5699
5693
  }[] | undefined;
5694
+ viewports?: {
5695
+ id: string;
5696
+ query: string;
5697
+ displayName: string;
5698
+ previewSize: string;
5699
+ }[] | undefined;
5700
5700
  componentTree?: contentful_management.TreeNodeV2[] | undefined;
5701
5701
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
5702
5702
  };
@@ -6310,7 +6310,7 @@ declare class ContentfulMcpTools {
6310
6310
  urn: string;
6311
6311
  };
6312
6312
  }>;
6313
- viewports: zod.ZodArray<zod.ZodObject<{
6313
+ viewports: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
6314
6314
  id: zod.ZodString;
6315
6315
  query: zod.ZodString;
6316
6316
  displayName: zod.ZodString;
@@ -6325,8 +6325,8 @@ declare class ContentfulMcpTools {
6325
6325
  query: string;
6326
6326
  displayName: string;
6327
6327
  previewSize: string;
6328
- }>, "many">;
6329
- designProperties: zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodObject<{
6328
+ }>, "many">>;
6329
+ designProperties: zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodObject<{
6330
6330
  type: zod.ZodLiteral<"ManualDesignValue">;
6331
6331
  value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
6332
6332
  }, "strip", zod.ZodTypeAny, {
@@ -6344,7 +6344,25 @@ declare class ContentfulMcpTools {
6344
6344
  }, {
6345
6345
  value: string;
6346
6346
  type: "DesignToken";
6347
- }>]>>>;
6347
+ }>]>, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodObject<{
6348
+ type: zod.ZodLiteral<"ManualDesignValue">;
6349
+ value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
6350
+ }, "strip", zod.ZodTypeAny, {
6351
+ value: string | number | boolean;
6352
+ type: "ManualDesignValue";
6353
+ }, {
6354
+ value: string | number | boolean;
6355
+ type: "ManualDesignValue";
6356
+ }>, zod.ZodObject<{
6357
+ type: zod.ZodLiteral<"DesignToken">;
6358
+ value: zod.ZodString;
6359
+ }, "strip", zod.ZodTypeAny, {
6360
+ value: string;
6361
+ type: "DesignToken";
6362
+ }, {
6363
+ value: string;
6364
+ type: "DesignToken";
6365
+ }>]>>]>>;
6348
6366
  contentBindings: zod.ZodOptional<zod.ZodObject<{
6349
6367
  sys: zod.ZodObject<{
6350
6368
  type: zod.ZodLiteral<"ResourceLink">;
@@ -6523,19 +6541,19 @@ declare class ContentfulMcpTools {
6523
6541
  urn: string;
6524
6542
  };
6525
6543
  };
6526
- designProperties: Record<string, Record<string, {
6544
+ designProperties: Record<string, {
6545
+ value: string;
6546
+ type: "DesignToken";
6547
+ } | {
6548
+ value: string | number | boolean;
6549
+ type: "ManualDesignValue";
6550
+ } | Record<string, {
6527
6551
  value: string;
6528
6552
  type: "DesignToken";
6529
6553
  } | {
6530
6554
  value: string | number | boolean;
6531
6555
  type: "ManualDesignValue";
6532
6556
  }>>;
6533
- viewports: {
6534
- id: string;
6535
- query: string;
6536
- displayName: string;
6537
- previewSize: string;
6538
- }[];
6539
6557
  metadata?: {
6540
6558
  name?: string | undefined;
6541
6559
  tags?: {
@@ -6568,6 +6586,12 @@ declare class ContentfulMcpTools {
6568
6586
  };
6569
6587
  }>;
6570
6588
  } | undefined;
6589
+ viewports?: {
6590
+ id: string;
6591
+ query: string;
6592
+ displayName: string;
6593
+ previewSize: string;
6594
+ }[] | undefined;
6571
6595
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
6572
6596
  };
6573
6597
  upsertExperience: {
@@ -6597,7 +6621,25 @@ declare class ContentfulMcpTools {
6597
6621
  displayName: string;
6598
6622
  previewSize: string;
6599
6623
  }>, "many">>;
6600
- designProperties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodObject<{
6624
+ designProperties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodObject<{
6625
+ type: zod.ZodLiteral<"ManualDesignValue">;
6626
+ value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
6627
+ }, "strip", zod.ZodTypeAny, {
6628
+ value: string | number | boolean;
6629
+ type: "ManualDesignValue";
6630
+ }, {
6631
+ value: string | number | boolean;
6632
+ type: "ManualDesignValue";
6633
+ }>, zod.ZodObject<{
6634
+ type: zod.ZodLiteral<"DesignToken">;
6635
+ value: zod.ZodString;
6636
+ }, "strip", zod.ZodTypeAny, {
6637
+ value: string;
6638
+ type: "DesignToken";
6639
+ }, {
6640
+ value: string;
6641
+ type: "DesignToken";
6642
+ }>]>, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodObject<{
6601
6643
  type: zod.ZodLiteral<"ManualDesignValue">;
6602
6644
  value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
6603
6645
  }, "strip", zod.ZodTypeAny, {
@@ -6615,7 +6657,7 @@ declare class ContentfulMcpTools {
6615
6657
  }, {
6616
6658
  value: string;
6617
6659
  type: "DesignToken";
6618
- }>]>>>>;
6660
+ }>]>>]>>>;
6619
6661
  contentBindings: zod.ZodOptional<zod.ZodObject<{
6620
6662
  sys: zod.ZodObject<{
6621
6663
  type: zod.ZodLiteral<"ResourceLink">;
@@ -6806,7 +6848,13 @@ declare class ContentfulMcpTools {
6806
6848
  }[] | undefined;
6807
6849
  } | undefined;
6808
6850
  description?: string | undefined;
6809
- designProperties?: Record<string, Record<string, {
6851
+ designProperties?: Record<string, {
6852
+ value: string;
6853
+ type: "DesignToken";
6854
+ } | {
6855
+ value: string | number | boolean;
6856
+ type: "ManualDesignValue";
6857
+ } | Record<string, {
6810
6858
  value: string;
6811
6859
  type: "DesignToken";
6812
6860
  } | {
@@ -8321,6 +8369,277 @@ declare class ContentfulMcpTools {
8321
8369
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8322
8370
  };
8323
8371
  };
8372
+ /**
8373
+ * Get release tools
8374
+ */
8375
+ getReleaseTools(): {
8376
+ listReleases: {
8377
+ title: string;
8378
+ description: string;
8379
+ inputParams: {
8380
+ spaceId: zod.ZodString;
8381
+ environmentId: zod.ZodString;
8382
+ } & {
8383
+ limit: zod.ZodOptional<zod.ZodNumber>;
8384
+ pageNext: zod.ZodOptional<zod.ZodString>;
8385
+ pagePrev: zod.ZodOptional<zod.ZodString>;
8386
+ statusIn: zod.ZodOptional<zod.ZodString>;
8387
+ statusNin: zod.ZodOptional<zod.ZodString>;
8388
+ titleMatch: zod.ZodOptional<zod.ZodString>;
8389
+ entitiesLinkType: zod.ZodOptional<zod.ZodEnum<["Entry", "Asset"]>>;
8390
+ entitiesSysIdIn: zod.ZodOptional<zod.ZodString>;
8391
+ };
8392
+ annotations: {
8393
+ readOnlyHint: boolean;
8394
+ destructiveHint: boolean;
8395
+ openWorldHint: boolean;
8396
+ };
8397
+ tool: (params: {
8398
+ spaceId: string;
8399
+ environmentId: string;
8400
+ limit?: number | undefined;
8401
+ pageNext?: string | undefined;
8402
+ pagePrev?: string | undefined;
8403
+ statusIn?: string | undefined;
8404
+ statusNin?: string | undefined;
8405
+ titleMatch?: string | undefined;
8406
+ entitiesLinkType?: "Entry" | "Asset" | undefined;
8407
+ entitiesSysIdIn?: string | undefined;
8408
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8409
+ };
8410
+ getRelease: {
8411
+ title: string;
8412
+ description: string;
8413
+ inputParams: {
8414
+ spaceId: zod.ZodString;
8415
+ environmentId: zod.ZodString;
8416
+ } & {
8417
+ releaseId: zod.ZodString;
8418
+ };
8419
+ annotations: {
8420
+ readOnlyHint: boolean;
8421
+ destructiveHint: boolean;
8422
+ openWorldHint: boolean;
8423
+ };
8424
+ tool: (params: {
8425
+ spaceId: string;
8426
+ environmentId: string;
8427
+ releaseId: string;
8428
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8429
+ };
8430
+ createRelease: {
8431
+ title: string;
8432
+ description: string;
8433
+ inputParams: {
8434
+ spaceId: zod.ZodString;
8435
+ environmentId: zod.ZodString;
8436
+ } & {
8437
+ title: zod.ZodString;
8438
+ entities: zod.ZodArray<zod.ZodObject<{
8439
+ id: zod.ZodString;
8440
+ linkType: zod.ZodEnum<["Entry", "Asset"]>;
8441
+ }, "strip", zod.ZodTypeAny, {
8442
+ id: string;
8443
+ linkType: "Entry" | "Asset";
8444
+ }, {
8445
+ id: string;
8446
+ linkType: "Entry" | "Asset";
8447
+ }>, "many">;
8448
+ };
8449
+ annotations: {
8450
+ readOnlyHint: boolean;
8451
+ destructiveHint: boolean;
8452
+ idempotentHint: boolean;
8453
+ openWorldHint: boolean;
8454
+ };
8455
+ tool: (params: {
8456
+ title: string;
8457
+ spaceId: string;
8458
+ environmentId: string;
8459
+ entities: {
8460
+ id: string;
8461
+ linkType: "Entry" | "Asset";
8462
+ }[];
8463
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8464
+ };
8465
+ updateRelease: {
8466
+ title: string;
8467
+ description: string;
8468
+ inputParams: {
8469
+ spaceId: zod.ZodString;
8470
+ environmentId: zod.ZodString;
8471
+ } & {
8472
+ releaseId: zod.ZodString;
8473
+ title: zod.ZodOptional<zod.ZodString>;
8474
+ entities: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
8475
+ id: zod.ZodString;
8476
+ linkType: zod.ZodEnum<["Entry", "Asset"]>;
8477
+ }, "strip", zod.ZodTypeAny, {
8478
+ id: string;
8479
+ linkType: "Entry" | "Asset";
8480
+ }, {
8481
+ id: string;
8482
+ linkType: "Entry" | "Asset";
8483
+ }>, "many">>;
8484
+ };
8485
+ annotations: {
8486
+ readOnlyHint: boolean;
8487
+ destructiveHint: boolean;
8488
+ idempotentHint: boolean;
8489
+ openWorldHint: boolean;
8490
+ };
8491
+ tool: (params: {
8492
+ spaceId: string;
8493
+ environmentId: string;
8494
+ releaseId: string;
8495
+ title?: string | undefined;
8496
+ entities?: {
8497
+ id: string;
8498
+ linkType: "Entry" | "Asset";
8499
+ }[] | undefined;
8500
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8501
+ };
8502
+ deleteRelease: {
8503
+ title: string;
8504
+ description: string;
8505
+ inputParams: {
8506
+ spaceId: zod.ZodString;
8507
+ environmentId: zod.ZodString;
8508
+ } & {
8509
+ releaseId: zod.ZodString;
8510
+ confirm: zod.ZodOptional<zod.ZodBoolean>;
8511
+ confirmToken: zod.ZodOptional<zod.ZodString>;
8512
+ };
8513
+ annotations: {
8514
+ readOnlyHint: boolean;
8515
+ destructiveHint: boolean;
8516
+ idempotentHint: boolean;
8517
+ openWorldHint: boolean;
8518
+ };
8519
+ tool: (params: {
8520
+ spaceId: string;
8521
+ environmentId: string;
8522
+ releaseId: string;
8523
+ confirmToken?: string | undefined;
8524
+ confirm?: boolean | undefined;
8525
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8526
+ };
8527
+ publishRelease: {
8528
+ title: string;
8529
+ description: string;
8530
+ inputParams: {
8531
+ spaceId: zod.ZodString;
8532
+ environmentId: zod.ZodString;
8533
+ } & {
8534
+ releaseId: zod.ZodString;
8535
+ };
8536
+ annotations: {
8537
+ readOnlyHint: boolean;
8538
+ destructiveHint: boolean;
8539
+ idempotentHint: boolean;
8540
+ openWorldHint: boolean;
8541
+ };
8542
+ tool: (params: {
8543
+ spaceId: string;
8544
+ environmentId: string;
8545
+ releaseId: string;
8546
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8547
+ };
8548
+ unpublishRelease: {
8549
+ title: string;
8550
+ description: string;
8551
+ inputParams: {
8552
+ spaceId: zod.ZodString;
8553
+ environmentId: zod.ZodString;
8554
+ } & {
8555
+ releaseId: zod.ZodString;
8556
+ };
8557
+ annotations: {
8558
+ readOnlyHint: boolean;
8559
+ destructiveHint: boolean;
8560
+ idempotentHint: boolean;
8561
+ openWorldHint: boolean;
8562
+ };
8563
+ tool: (params: {
8564
+ spaceId: string;
8565
+ environmentId: string;
8566
+ releaseId: string;
8567
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8568
+ };
8569
+ validateRelease: {
8570
+ title: string;
8571
+ description: string;
8572
+ inputParams: {
8573
+ spaceId: zod.ZodString;
8574
+ environmentId: zod.ZodString;
8575
+ } & {
8576
+ releaseId: zod.ZodString;
8577
+ action: zod.ZodOptional<zod.ZodEnum<["publish", "unpublish"]>>;
8578
+ };
8579
+ annotations: {
8580
+ readOnlyHint: boolean;
8581
+ destructiveHint: boolean;
8582
+ idempotentHint: boolean;
8583
+ openWorldHint: boolean;
8584
+ };
8585
+ tool: (params: {
8586
+ spaceId: string;
8587
+ environmentId: string;
8588
+ releaseId: string;
8589
+ action?: "publish" | "unpublish" | undefined;
8590
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8591
+ };
8592
+ getReleaseAction: {
8593
+ title: string;
8594
+ description: string;
8595
+ inputParams: {
8596
+ spaceId: zod.ZodString;
8597
+ environmentId: zod.ZodString;
8598
+ } & {
8599
+ releaseId: zod.ZodString;
8600
+ actionId: zod.ZodString;
8601
+ };
8602
+ annotations: {
8603
+ readOnlyHint: boolean;
8604
+ destructiveHint: boolean;
8605
+ openWorldHint: boolean;
8606
+ };
8607
+ tool: (params: {
8608
+ spaceId: string;
8609
+ environmentId: string;
8610
+ releaseId: string;
8611
+ actionId: string;
8612
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8613
+ };
8614
+ listReleaseActions: {
8615
+ title: string;
8616
+ description: string;
8617
+ inputParams: {
8618
+ spaceId: zod.ZodString;
8619
+ environmentId: zod.ZodString;
8620
+ } & {
8621
+ releaseId: zod.ZodOptional<zod.ZodString>;
8622
+ action: zod.ZodOptional<zod.ZodEnum<["publish", "unpublish", "validate"]>>;
8623
+ statusIn: zod.ZodOptional<zod.ZodString>;
8624
+ statusNin: zod.ZodOptional<zod.ZodString>;
8625
+ limit: zod.ZodOptional<zod.ZodNumber>;
8626
+ };
8627
+ annotations: {
8628
+ readOnlyHint: boolean;
8629
+ destructiveHint: boolean;
8630
+ openWorldHint: boolean;
8631
+ };
8632
+ tool: (params: {
8633
+ spaceId: string;
8634
+ environmentId: string;
8635
+ releaseId?: string | undefined;
8636
+ limit?: number | undefined;
8637
+ statusIn?: string | undefined;
8638
+ statusNin?: string | undefined;
8639
+ action?: "publish" | "unpublish" | "validate" | undefined;
8640
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
8641
+ };
8642
+ };
8324
8643
  /**
8325
8644
  * Get tag tools
8326
8645
  */
@@ -9026,7 +9345,7 @@ declare class ContentfulMcpTools {
9026
9345
  urn: string;
9027
9346
  };
9028
9347
  }>;
9029
- viewports: zod.ZodArray<zod.ZodObject<{
9348
+ viewports: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
9030
9349
  id: zod.ZodString;
9031
9350
  query: zod.ZodString;
9032
9351
  displayName: zod.ZodString;
@@ -9041,8 +9360,8 @@ declare class ContentfulMcpTools {
9041
9360
  query: string;
9042
9361
  displayName: string;
9043
9362
  previewSize: string;
9044
- }>, "many">;
9045
- designProperties: zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodObject<{
9363
+ }>, "many">>;
9364
+ designProperties: zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodObject<{
9046
9365
  type: zod.ZodLiteral<"ManualDesignValue">;
9047
9366
  value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
9048
9367
  }, "strip", zod.ZodTypeAny, {
@@ -9060,7 +9379,25 @@ declare class ContentfulMcpTools {
9060
9379
  }, {
9061
9380
  value: string;
9062
9381
  type: "DesignToken";
9063
- }>]>>>;
9382
+ }>]>, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodObject<{
9383
+ type: zod.ZodLiteral<"ManualDesignValue">;
9384
+ value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
9385
+ }, "strip", zod.ZodTypeAny, {
9386
+ value: string | number | boolean;
9387
+ type: "ManualDesignValue";
9388
+ }, {
9389
+ value: string | number | boolean;
9390
+ type: "ManualDesignValue";
9391
+ }>, zod.ZodObject<{
9392
+ type: zod.ZodLiteral<"DesignToken">;
9393
+ value: zod.ZodString;
9394
+ }, "strip", zod.ZodTypeAny, {
9395
+ value: string;
9396
+ type: "DesignToken";
9397
+ }, {
9398
+ value: string;
9399
+ type: "DesignToken";
9400
+ }>]>>]>>;
9064
9401
  contentBindings: zod.ZodOptional<zod.ZodObject<{
9065
9402
  sys: zod.ZodObject<{
9066
9403
  type: zod.ZodLiteral<"ResourceLink">;
@@ -9239,19 +9576,19 @@ declare class ContentfulMcpTools {
9239
9576
  urn: string;
9240
9577
  };
9241
9578
  };
9242
- designProperties: Record<string, Record<string, {
9579
+ designProperties: Record<string, {
9580
+ value: string;
9581
+ type: "DesignToken";
9582
+ } | {
9583
+ value: string | number | boolean;
9584
+ type: "ManualDesignValue";
9585
+ } | Record<string, {
9243
9586
  value: string;
9244
9587
  type: "DesignToken";
9245
9588
  } | {
9246
9589
  value: string | number | boolean;
9247
9590
  type: "ManualDesignValue";
9248
9591
  }>>;
9249
- viewports: {
9250
- id: string;
9251
- query: string;
9252
- displayName: string;
9253
- previewSize: string;
9254
- }[];
9255
9592
  metadata?: {
9256
9593
  name?: string | undefined;
9257
9594
  tags?: {
@@ -9284,6 +9621,12 @@ declare class ContentfulMcpTools {
9284
9621
  };
9285
9622
  }>;
9286
9623
  } | undefined;
9624
+ viewports?: {
9625
+ id: string;
9626
+ query: string;
9627
+ displayName: string;
9628
+ previewSize: string;
9629
+ }[] | undefined;
9287
9630
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
9288
9631
  };
9289
9632
  updateExperienceFragment: {
@@ -9313,7 +9656,7 @@ declare class ContentfulMcpTools {
9313
9656
  displayName: string;
9314
9657
  previewSize: string;
9315
9658
  }>, "many">>;
9316
- designProperties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodObject<{
9659
+ designProperties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodObject<{
9317
9660
  type: zod.ZodLiteral<"ManualDesignValue">;
9318
9661
  value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
9319
9662
  }, "strip", zod.ZodTypeAny, {
@@ -9331,7 +9674,25 @@ declare class ContentfulMcpTools {
9331
9674
  }, {
9332
9675
  value: string;
9333
9676
  type: "DesignToken";
9334
- }>]>>>>;
9677
+ }>]>, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodObject<{
9678
+ type: zod.ZodLiteral<"ManualDesignValue">;
9679
+ value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
9680
+ }, "strip", zod.ZodTypeAny, {
9681
+ value: string | number | boolean;
9682
+ type: "ManualDesignValue";
9683
+ }, {
9684
+ value: string | number | boolean;
9685
+ type: "ManualDesignValue";
9686
+ }>, zod.ZodObject<{
9687
+ type: zod.ZodLiteral<"DesignToken">;
9688
+ value: zod.ZodString;
9689
+ }, "strip", zod.ZodTypeAny, {
9690
+ value: string;
9691
+ type: "DesignToken";
9692
+ }, {
9693
+ value: string;
9694
+ type: "DesignToken";
9695
+ }>]>>]>>>;
9335
9696
  contentBindings: zod.ZodOptional<zod.ZodObject<{
9336
9697
  sys: zod.ZodObject<{
9337
9698
  type: zod.ZodLiteral<"ResourceLink">;
@@ -9522,7 +9883,13 @@ declare class ContentfulMcpTools {
9522
9883
  }[] | undefined;
9523
9884
  } | undefined;
9524
9885
  description?: string | undefined;
9525
- designProperties?: Record<string, Record<string, {
9886
+ designProperties?: Record<string, {
9887
+ value: string;
9888
+ type: "DesignToken";
9889
+ } | {
9890
+ value: string | number | boolean;
9891
+ type: "ManualDesignValue";
9892
+ } | Record<string, {
9526
9893
  value: string;
9527
9894
  type: "DesignToken";
9528
9895
  } | {