@contentful/mcp-tools 0.12.7 → 0.12.9

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 +291 -34
  2. package/dist/index.js +1679 -1060
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1097,6 +1097,56 @@ declare class ContentfulMcpTools {
1097
1097
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
1098
1098
  };
1099
1099
  };
1100
+ /**
1101
+ * Get content preview tools
1102
+ */
1103
+ getContentPreviewTools(): {
1104
+ listContentPreviews: {
1105
+ title: string;
1106
+ description: string;
1107
+ inputParams: {
1108
+ spaceId: zod.ZodString;
1109
+ contentTypeId: zod.ZodOptional<zod.ZodString>;
1110
+ limit: zod.ZodOptional<zod.ZodNumber>;
1111
+ skip: zod.ZodOptional<zod.ZodNumber>;
1112
+ };
1113
+ annotations: {
1114
+ readOnlyHint: boolean;
1115
+ destructiveHint: boolean;
1116
+ openWorldHint: boolean;
1117
+ };
1118
+ tool: (params: {
1119
+ spaceId: string;
1120
+ skip?: number | undefined;
1121
+ limit?: number | undefined;
1122
+ contentTypeId?: string | undefined;
1123
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
1124
+ };
1125
+ getEntryPreviewUrl: {
1126
+ title: string;
1127
+ description: string;
1128
+ inputParams: {
1129
+ spaceId: zod.ZodString;
1130
+ environmentId: zod.ZodString;
1131
+ } & {
1132
+ entryId: zod.ZodString;
1133
+ previewId: zod.ZodOptional<zod.ZodString>;
1134
+ locale: zod.ZodOptional<zod.ZodString>;
1135
+ };
1136
+ annotations: {
1137
+ readOnlyHint: boolean;
1138
+ destructiveHint: boolean;
1139
+ openWorldHint: boolean;
1140
+ };
1141
+ tool: (params: {
1142
+ spaceId: string;
1143
+ environmentId: string;
1144
+ entryId: string;
1145
+ locale?: string | undefined;
1146
+ previewId?: string | undefined;
1147
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
1148
+ };
1149
+ };
1100
1150
  /**
1101
1151
  * Get content type tools
1102
1152
  */
@@ -1380,8 +1430,8 @@ declare class ContentfulMcpTools {
1380
1430
  })[];
1381
1431
  }>]>>>;
1382
1432
  }, "strip", zod.ZodTypeAny, {
1383
- in?: (string | number)[] | undefined;
1384
1433
  message?: string | null | undefined;
1434
+ in?: (string | number)[] | undefined;
1385
1435
  size?: {
1386
1436
  min?: number | undefined;
1387
1437
  max?: number | undefined;
@@ -1445,8 +1495,8 @@ declare class ContentfulMcpTools {
1445
1495
  })[];
1446
1496
  }> | undefined;
1447
1497
  }, {
1448
- in?: (string | number)[] | undefined;
1449
1498
  message?: string | null | undefined;
1499
+ in?: (string | number)[] | undefined;
1450
1500
  size?: {
1451
1501
  min?: number | undefined;
1452
1502
  max?: number | undefined;
@@ -1728,8 +1778,8 @@ declare class ContentfulMcpTools {
1728
1778
  })[];
1729
1779
  }>]>>>;
1730
1780
  }, "strip", zod.ZodTypeAny, {
1731
- in?: (string | number)[] | undefined;
1732
1781
  message?: string | null | undefined;
1782
+ in?: (string | number)[] | undefined;
1733
1783
  size?: {
1734
1784
  min?: number | undefined;
1735
1785
  max?: number | undefined;
@@ -1793,8 +1843,8 @@ declare class ContentfulMcpTools {
1793
1843
  })[];
1794
1844
  }> | undefined;
1795
1845
  }, {
1796
- in?: (string | number)[] | undefined;
1797
1846
  message?: string | null | undefined;
1847
+ in?: (string | number)[] | undefined;
1798
1848
  size?: {
1799
1849
  min?: number | undefined;
1800
1850
  max?: number | undefined;
@@ -1862,8 +1912,8 @@ declare class ContentfulMcpTools {
1862
1912
  type: string;
1863
1913
  linkType?: string | undefined;
1864
1914
  validations?: {
1865
- in?: (string | number)[] | undefined;
1866
1915
  message?: string | null | undefined;
1916
+ in?: (string | number)[] | undefined;
1867
1917
  size?: {
1868
1918
  min?: number | undefined;
1869
1919
  max?: number | undefined;
@@ -1931,8 +1981,8 @@ declare class ContentfulMcpTools {
1931
1981
  type: string;
1932
1982
  linkType?: string | undefined;
1933
1983
  validations?: {
1934
- in?: (string | number)[] | undefined;
1935
1984
  message?: string | null | undefined;
1985
+ in?: (string | number)[] | undefined;
1936
1986
  size?: {
1937
1987
  min?: number | undefined;
1938
1988
  max?: number | undefined;
@@ -2007,8 +2057,8 @@ declare class ContentfulMcpTools {
2007
2057
  type: string;
2008
2058
  linkType?: string | undefined;
2009
2059
  validations?: {
2010
- in?: (string | number)[] | undefined;
2011
2060
  message?: string | null | undefined;
2061
+ in?: (string | number)[] | undefined;
2012
2062
  size?: {
2013
2063
  min?: number | undefined;
2014
2064
  max?: number | undefined;
@@ -2075,8 +2125,8 @@ declare class ContentfulMcpTools {
2075
2125
  } | undefined;
2076
2126
  linkType?: string | undefined;
2077
2127
  validations?: {
2078
- in?: (string | number)[] | undefined;
2079
2128
  message?: string | null | undefined;
2129
+ in?: (string | number)[] | undefined;
2080
2130
  size?: {
2081
2131
  min?: number | undefined;
2082
2132
  max?: number | undefined;
@@ -2154,8 +2204,8 @@ declare class ContentfulMcpTools {
2154
2204
  type: string;
2155
2205
  linkType?: string | undefined;
2156
2206
  validations?: {
2157
- in?: (string | number)[] | undefined;
2158
2207
  message?: string | null | undefined;
2208
+ in?: (string | number)[] | undefined;
2159
2209
  size?: {
2160
2210
  min?: number | undefined;
2161
2211
  max?: number | undefined;
@@ -2222,8 +2272,8 @@ declare class ContentfulMcpTools {
2222
2272
  } | undefined;
2223
2273
  linkType?: string | undefined;
2224
2274
  validations?: {
2225
- in?: (string | number)[] | undefined;
2226
2275
  message?: string | null | undefined;
2276
+ in?: (string | number)[] | undefined;
2227
2277
  size?: {
2228
2278
  min?: number | undefined;
2229
2279
  max?: number | undefined;
@@ -2406,8 +2456,8 @@ declare class ContentfulMcpTools {
2406
2456
  type: string;
2407
2457
  linkType?: string | undefined;
2408
2458
  validations?: {
2409
- in?: (string | number)[] | undefined;
2410
2459
  message?: string | null | undefined;
2460
+ in?: (string | number)[] | undefined;
2411
2461
  size?: {
2412
2462
  min?: number | undefined;
2413
2463
  max?: number | undefined;
@@ -2474,8 +2524,8 @@ declare class ContentfulMcpTools {
2474
2524
  } | undefined;
2475
2525
  linkType?: string | undefined;
2476
2526
  validations?: {
2477
- in?: (string | number)[] | undefined;
2478
2527
  message?: string | null | undefined;
2528
+ in?: (string | number)[] | undefined;
2479
2529
  size?: {
2480
2530
  min?: number | undefined;
2481
2531
  max?: number | undefined;
@@ -2797,8 +2847,8 @@ declare class ContentfulMcpTools {
2797
2847
  })[];
2798
2848
  }>]>>>;
2799
2849
  }, "strip", zod.ZodTypeAny, {
2800
- in?: (string | number)[] | undefined;
2801
2850
  message?: string | null | undefined;
2851
+ in?: (string | number)[] | undefined;
2802
2852
  size?: {
2803
2853
  min?: number | undefined;
2804
2854
  max?: number | undefined;
@@ -2862,8 +2912,8 @@ declare class ContentfulMcpTools {
2862
2912
  })[];
2863
2913
  }> | undefined;
2864
2914
  }, {
2865
- in?: (string | number)[] | undefined;
2866
2915
  message?: string | null | undefined;
2916
+ in?: (string | number)[] | undefined;
2867
2917
  size?: {
2868
2918
  min?: number | undefined;
2869
2919
  max?: number | undefined;
@@ -3145,8 +3195,8 @@ declare class ContentfulMcpTools {
3145
3195
  })[];
3146
3196
  }>]>>>;
3147
3197
  }, "strip", zod.ZodTypeAny, {
3148
- in?: (string | number)[] | undefined;
3149
3198
  message?: string | null | undefined;
3199
+ in?: (string | number)[] | undefined;
3150
3200
  size?: {
3151
3201
  min?: number | undefined;
3152
3202
  max?: number | undefined;
@@ -3210,8 +3260,8 @@ declare class ContentfulMcpTools {
3210
3260
  })[];
3211
3261
  }> | undefined;
3212
3262
  }, {
3213
- in?: (string | number)[] | undefined;
3214
3263
  message?: string | null | undefined;
3264
+ in?: (string | number)[] | undefined;
3215
3265
  size?: {
3216
3266
  min?: number | undefined;
3217
3267
  max?: number | undefined;
@@ -3279,8 +3329,8 @@ declare class ContentfulMcpTools {
3279
3329
  type: string;
3280
3330
  linkType?: string | undefined;
3281
3331
  validations?: {
3282
- in?: (string | number)[] | undefined;
3283
3332
  message?: string | null | undefined;
3333
+ in?: (string | number)[] | undefined;
3284
3334
  size?: {
3285
3335
  min?: number | undefined;
3286
3336
  max?: number | undefined;
@@ -3348,8 +3398,8 @@ declare class ContentfulMcpTools {
3348
3398
  type: string;
3349
3399
  linkType?: string | undefined;
3350
3400
  validations?: {
3351
- in?: (string | number)[] | undefined;
3352
3401
  message?: string | null | undefined;
3402
+ in?: (string | number)[] | undefined;
3353
3403
  size?: {
3354
3404
  min?: number | undefined;
3355
3405
  max?: number | undefined;
@@ -3424,8 +3474,8 @@ declare class ContentfulMcpTools {
3424
3474
  type: string;
3425
3475
  linkType?: string | undefined;
3426
3476
  validations?: {
3427
- in?: (string | number)[] | undefined;
3428
3477
  message?: string | null | undefined;
3478
+ in?: (string | number)[] | undefined;
3429
3479
  size?: {
3430
3480
  min?: number | undefined;
3431
3481
  max?: number | undefined;
@@ -3492,8 +3542,8 @@ declare class ContentfulMcpTools {
3492
3542
  } | undefined;
3493
3543
  linkType?: string | undefined;
3494
3544
  validations?: {
3495
- in?: (string | number)[] | undefined;
3496
3545
  message?: string | null | undefined;
3546
+ in?: (string | number)[] | undefined;
3497
3547
  size?: {
3498
3548
  min?: number | undefined;
3499
3549
  max?: number | undefined;
@@ -3571,8 +3621,8 @@ declare class ContentfulMcpTools {
3571
3621
  type: string;
3572
3622
  linkType?: string | undefined;
3573
3623
  validations?: {
3574
- in?: (string | number)[] | undefined;
3575
3624
  message?: string | null | undefined;
3625
+ in?: (string | number)[] | undefined;
3576
3626
  size?: {
3577
3627
  min?: number | undefined;
3578
3628
  max?: number | undefined;
@@ -3639,8 +3689,8 @@ declare class ContentfulMcpTools {
3639
3689
  } | undefined;
3640
3690
  linkType?: string | undefined;
3641
3691
  validations?: {
3642
- in?: (string | number)[] | undefined;
3643
3692
  message?: string | null | undefined;
3693
+ in?: (string | number)[] | undefined;
3644
3694
  size?: {
3645
3695
  min?: number | undefined;
3646
3696
  max?: number | undefined;
@@ -3813,6 +3863,7 @@ declare class ContentfulMcpTools {
3813
3863
  spaceId: string;
3814
3864
  environmentId: string;
3815
3865
  contentTypeId: string;
3866
+ name?: string | undefined;
3816
3867
  metadata?: {
3817
3868
  taxonomy?: ({
3818
3869
  sys: {
@@ -3830,7 +3881,6 @@ declare class ContentfulMcpTools {
3830
3881
  required?: boolean | undefined;
3831
3882
  })[] | undefined;
3832
3883
  } | undefined;
3833
- name?: string | undefined;
3834
3884
  description?: string | undefined;
3835
3885
  fields?: {
3836
3886
  name: string;
@@ -3842,8 +3892,8 @@ declare class ContentfulMcpTools {
3842
3892
  type: string;
3843
3893
  linkType?: string | undefined;
3844
3894
  validations?: {
3845
- in?: (string | number)[] | undefined;
3846
3895
  message?: string | null | undefined;
3896
+ in?: (string | number)[] | undefined;
3847
3897
  size?: {
3848
3898
  min?: number | undefined;
3849
3899
  max?: number | undefined;
@@ -3910,8 +3960,8 @@ declare class ContentfulMcpTools {
3910
3960
  } | undefined;
3911
3961
  linkType?: string | undefined;
3912
3962
  validations?: {
3913
- in?: (string | number)[] | undefined;
3914
3963
  message?: string | null | undefined;
3964
+ in?: (string | number)[] | undefined;
3915
3965
  size?: {
3916
3966
  min?: number | undefined;
3917
3967
  max?: number | undefined;
@@ -4183,6 +4233,7 @@ declare class ContentfulMcpTools {
4183
4233
  spaceId: zod.ZodString;
4184
4234
  environmentId: zod.ZodString;
4185
4235
  } & {
4236
+ componentId: zod.ZodOptional<zod.ZodString>;
4186
4237
  name: zod.ZodString;
4187
4238
  description: zod.ZodString;
4188
4239
  viewports: zod.ZodArray<zod.ZodObject<{
@@ -4605,6 +4656,7 @@ declare class ContentfulMcpTools {
4605
4656
  };
4606
4657
  }[] | undefined;
4607
4658
  } | undefined;
4659
+ componentId?: string | undefined;
4608
4660
  slots?: {
4609
4661
  name: string;
4610
4662
  required: boolean;
@@ -4989,6 +5041,7 @@ declare class ContentfulMcpTools {
4989
5041
  spaceId: string;
4990
5042
  environmentId: string;
4991
5043
  componentId: string;
5044
+ name?: string | undefined;
4992
5045
  metadata?: {
4993
5046
  tags?: {
4994
5047
  sys: {
@@ -5005,7 +5058,6 @@ declare class ContentfulMcpTools {
5005
5058
  };
5006
5059
  }[] | undefined;
5007
5060
  } | undefined;
5008
- name?: string | undefined;
5009
5061
  description?: string | undefined;
5010
5062
  designProperties?: ({
5011
5063
  name: string;
@@ -6011,6 +6063,7 @@ declare class ContentfulMcpTools {
6011
6063
  spaceId: string;
6012
6064
  environmentId: string;
6013
6065
  experienceTemplateId: string;
6066
+ name?: string | undefined;
6014
6067
  metadata?: {
6015
6068
  tags?: {
6016
6069
  sys: {
@@ -6027,7 +6080,6 @@ declare class ContentfulMcpTools {
6027
6080
  };
6028
6081
  }[] | undefined;
6029
6082
  } | undefined;
6030
- name?: string | undefined;
6031
6083
  description?: string | undefined;
6032
6084
  designProperties?: ({
6033
6085
  name: string;
@@ -6733,6 +6785,7 @@ declare class ContentfulMcpTools {
6733
6785
  spaceId: string;
6734
6786
  environmentId: string;
6735
6787
  experienceId: string;
6788
+ name?: string | undefined;
6736
6789
  metadata?: {
6737
6790
  name?: string | undefined;
6738
6791
  tags?: {
@@ -6750,7 +6803,6 @@ declare class ContentfulMcpTools {
6750
6803
  };
6751
6804
  }[] | undefined;
6752
6805
  } | undefined;
6753
- name?: string | undefined;
6754
6806
  description?: string | undefined;
6755
6807
  designProperties?: Record<string, Record<string, {
6756
6808
  value: string;
@@ -8069,9 +8121,9 @@ declare class ContentfulMcpTools {
8069
8121
  openWorldHint: boolean;
8070
8122
  };
8071
8123
  tool: (params: {
8124
+ name: string;
8072
8125
  default: boolean;
8073
8126
  optional: boolean;
8074
- name: string;
8075
8127
  spaceId: string;
8076
8128
  environmentId: string;
8077
8129
  code: string;
@@ -8124,15 +8176,15 @@ declare class ContentfulMcpTools {
8124
8176
  contentManagementApi: zod.ZodOptional<zod.ZodBoolean>;
8125
8177
  optional: zod.ZodOptional<zod.ZodBoolean>;
8126
8178
  }, "strip", zod.ZodTypeAny, {
8127
- optional?: boolean | undefined;
8128
8179
  name?: string | undefined;
8180
+ optional?: boolean | undefined;
8129
8181
  code?: string | undefined;
8130
8182
  fallbackCode?: string | undefined;
8131
8183
  contentDeliveryApi?: boolean | undefined;
8132
8184
  contentManagementApi?: boolean | undefined;
8133
8185
  }, {
8134
- optional?: boolean | undefined;
8135
8186
  name?: string | undefined;
8187
+ optional?: boolean | undefined;
8136
8188
  code?: string | undefined;
8137
8189
  fallbackCode?: string | undefined;
8138
8190
  contentDeliveryApi?: boolean | undefined;
@@ -8149,8 +8201,8 @@ declare class ContentfulMcpTools {
8149
8201
  spaceId: string;
8150
8202
  environmentId: string;
8151
8203
  fields: {
8152
- optional?: boolean | undefined;
8153
8204
  name?: string | undefined;
8205
+ optional?: boolean | undefined;
8154
8206
  code?: string | undefined;
8155
8207
  fallbackCode?: string | undefined;
8156
8208
  contentDeliveryApi?: boolean | undefined;
@@ -9449,6 +9501,7 @@ declare class ContentfulMcpTools {
9449
9501
  spaceId: string;
9450
9502
  environmentId: string;
9451
9503
  experienceFragmentId: string;
9504
+ name?: string | undefined;
9452
9505
  metadata?: {
9453
9506
  name?: string | undefined;
9454
9507
  tags?: {
@@ -9466,7 +9519,6 @@ declare class ContentfulMcpTools {
9466
9519
  };
9467
9520
  }[] | undefined;
9468
9521
  } | undefined;
9469
- name?: string | undefined;
9470
9522
  description?: string | undefined;
9471
9523
  designProperties?: Record<string, Record<string, {
9472
9524
  value: string;
@@ -10134,6 +10186,7 @@ declare class ContentfulMcpTools {
10134
10186
  spaceId: string;
10135
10187
  environmentId: string;
10136
10188
  dataAssemblyId: string;
10189
+ name?: string | undefined;
10137
10190
  metadata?: {
10138
10191
  tags: {
10139
10192
  sys: {
@@ -10143,7 +10196,6 @@ declare class ContentfulMcpTools {
10143
10196
  };
10144
10197
  }[];
10145
10198
  } | undefined;
10146
- name?: string | undefined;
10147
10199
  description?: string | undefined;
10148
10200
  parameters?: Record<string, {
10149
10201
  type: "ResourceLink";
@@ -10260,6 +10312,211 @@ declare class ContentfulMcpTools {
10260
10312
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
10261
10313
  };
10262
10314
  };
10315
+ /**
10316
+ * Get ExO design token tools
10317
+ */
10318
+ getDesignTokenTools(): {
10319
+ getDesignToken: {
10320
+ title: string;
10321
+ description: string;
10322
+ inputParams: {
10323
+ spaceId: zod.ZodString;
10324
+ environmentId: zod.ZodString;
10325
+ } & {
10326
+ designTokenId: zod.ZodString;
10327
+ };
10328
+ annotations: {
10329
+ readOnlyHint: boolean;
10330
+ destructiveHint: boolean;
10331
+ openWorldHint: boolean;
10332
+ };
10333
+ tool: (params: {
10334
+ spaceId: string;
10335
+ environmentId: string;
10336
+ designTokenId: string;
10337
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
10338
+ };
10339
+ listDesignTokens: {
10340
+ title: string;
10341
+ description: string;
10342
+ inputParams: {
10343
+ spaceId: zod.ZodString;
10344
+ environmentId: zod.ZodString;
10345
+ } & {
10346
+ limit: zod.ZodOptional<zod.ZodNumber>;
10347
+ pageNext: zod.ZodOptional<zod.ZodString>;
10348
+ pagePrev: zod.ZodOptional<zod.ZodString>;
10349
+ type: zod.ZodOptional<zod.ZodEnum<["DTCG.Color", "DTCG.Dimension", "DTCG.FontFamily", "DTCG.FontWeight", "DTCG.Duration", "DTCG.CubicBezier", "DTCG.Number", "DTCG.StrokeStyle", "DTCG.Border", "DTCG.Transition", "DTCG.Shadow", "DTCG.Gradient", "DTCG.Typography"]>>;
10350
+ };
10351
+ annotations: {
10352
+ readOnlyHint: boolean;
10353
+ destructiveHint: boolean;
10354
+ openWorldHint: boolean;
10355
+ };
10356
+ tool: (params: {
10357
+ spaceId: string;
10358
+ environmentId: string;
10359
+ type?: "DTCG.Color" | "DTCG.Dimension" | "DTCG.FontFamily" | "DTCG.FontWeight" | "DTCG.Duration" | "DTCG.CubicBezier" | "DTCG.Number" | "DTCG.StrokeStyle" | "DTCG.Border" | "DTCG.Transition" | "DTCG.Shadow" | "DTCG.Gradient" | "DTCG.Typography" | undefined;
10360
+ limit?: number | undefined;
10361
+ pageNext?: string | undefined;
10362
+ pagePrev?: string | undefined;
10363
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
10364
+ };
10365
+ upsertDesignToken: {
10366
+ title: string;
10367
+ description: string;
10368
+ inputParams: {
10369
+ spaceId: zod.ZodString;
10370
+ environmentId: zod.ZodString;
10371
+ } & {
10372
+ designTokenId: zod.ZodString;
10373
+ version: zod.ZodOptional<zod.ZodNumber>;
10374
+ name: zod.ZodOptional<zod.ZodString>;
10375
+ type: zod.ZodOptional<zod.ZodEnum<["DTCG.Color", "DTCG.Dimension", "DTCG.FontFamily", "DTCG.FontWeight", "DTCG.Duration", "DTCG.CubicBezier", "DTCG.Number", "DTCG.StrokeStyle", "DTCG.Border", "DTCG.Transition", "DTCG.Shadow", "DTCG.Gradient", "DTCG.Typography"]>>;
10376
+ metadata: zod.ZodOptional<zod.ZodObject<{
10377
+ tags: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
10378
+ sys: zod.ZodObject<{
10379
+ type: zod.ZodLiteral<"Link">;
10380
+ linkType: zod.ZodLiteral<"Tag">;
10381
+ id: zod.ZodString;
10382
+ }, "strip", zod.ZodTypeAny, {
10383
+ type: "Link";
10384
+ id: string;
10385
+ linkType: "Tag";
10386
+ }, {
10387
+ type: "Link";
10388
+ id: string;
10389
+ linkType: "Tag";
10390
+ }>;
10391
+ }, "strip", zod.ZodTypeAny, {
10392
+ sys: {
10393
+ type: "Link";
10394
+ id: string;
10395
+ linkType: "Tag";
10396
+ };
10397
+ }, {
10398
+ sys: {
10399
+ type: "Link";
10400
+ id: string;
10401
+ linkType: "Tag";
10402
+ };
10403
+ }>, "many">>;
10404
+ concepts: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
10405
+ sys: zod.ZodObject<{
10406
+ type: zod.ZodLiteral<"Link">;
10407
+ linkType: zod.ZodLiteral<"TaxonomyConcept">;
10408
+ id: zod.ZodString;
10409
+ }, "strip", zod.ZodTypeAny, {
10410
+ type: "Link";
10411
+ id: string;
10412
+ linkType: "TaxonomyConcept";
10413
+ }, {
10414
+ type: "Link";
10415
+ id: string;
10416
+ linkType: "TaxonomyConcept";
10417
+ }>;
10418
+ }, "strip", zod.ZodTypeAny, {
10419
+ sys: {
10420
+ type: "Link";
10421
+ id: string;
10422
+ linkType: "TaxonomyConcept";
10423
+ };
10424
+ }, {
10425
+ sys: {
10426
+ type: "Link";
10427
+ id: string;
10428
+ linkType: "TaxonomyConcept";
10429
+ };
10430
+ }>, "many">>;
10431
+ }, "strip", zod.ZodTypeAny, {
10432
+ tags?: {
10433
+ sys: {
10434
+ type: "Link";
10435
+ id: string;
10436
+ linkType: "Tag";
10437
+ };
10438
+ }[] | undefined;
10439
+ concepts?: {
10440
+ sys: {
10441
+ type: "Link";
10442
+ id: string;
10443
+ linkType: "TaxonomyConcept";
10444
+ };
10445
+ }[] | undefined;
10446
+ }, {
10447
+ tags?: {
10448
+ sys: {
10449
+ type: "Link";
10450
+ id: string;
10451
+ linkType: "Tag";
10452
+ };
10453
+ }[] | undefined;
10454
+ concepts?: {
10455
+ sys: {
10456
+ type: "Link";
10457
+ id: string;
10458
+ linkType: "TaxonomyConcept";
10459
+ };
10460
+ }[] | undefined;
10461
+ }>>;
10462
+ };
10463
+ annotations: {
10464
+ readOnlyHint: boolean;
10465
+ destructiveHint: boolean;
10466
+ idempotentHint: boolean;
10467
+ openWorldHint: boolean;
10468
+ };
10469
+ tool: (params: {
10470
+ spaceId: string;
10471
+ environmentId: string;
10472
+ designTokenId: string;
10473
+ name?: string | undefined;
10474
+ version?: number | undefined;
10475
+ metadata?: {
10476
+ tags?: {
10477
+ sys: {
10478
+ type: "Link";
10479
+ id: string;
10480
+ linkType: "Tag";
10481
+ };
10482
+ }[] | undefined;
10483
+ concepts?: {
10484
+ sys: {
10485
+ type: "Link";
10486
+ id: string;
10487
+ linkType: "TaxonomyConcept";
10488
+ };
10489
+ }[] | undefined;
10490
+ } | undefined;
10491
+ type?: "DTCG.Color" | "DTCG.Dimension" | "DTCG.FontFamily" | "DTCG.FontWeight" | "DTCG.Duration" | "DTCG.CubicBezier" | "DTCG.Number" | "DTCG.StrokeStyle" | "DTCG.Border" | "DTCG.Transition" | "DTCG.Shadow" | "DTCG.Gradient" | "DTCG.Typography" | undefined;
10492
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
10493
+ };
10494
+ deleteDesignToken: {
10495
+ title: string;
10496
+ description: string;
10497
+ inputParams: {
10498
+ spaceId: zod.ZodString;
10499
+ environmentId: zod.ZodString;
10500
+ } & {
10501
+ designTokenId: zod.ZodString;
10502
+ confirm: zod.ZodOptional<zod.ZodBoolean>;
10503
+ confirmToken: zod.ZodOptional<zod.ZodString>;
10504
+ };
10505
+ annotations: {
10506
+ readOnlyHint: boolean;
10507
+ destructiveHint: boolean;
10508
+ idempotentHint: boolean;
10509
+ openWorldHint: boolean;
10510
+ };
10511
+ tool: (params: {
10512
+ spaceId: string;
10513
+ environmentId: string;
10514
+ designTokenId: string;
10515
+ confirmToken?: string | undefined;
10516
+ confirm?: boolean | undefined;
10517
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
10518
+ };
10519
+ };
10263
10520
  /**
10264
10521
  * Get job tools (space-to-space migration)
10265
10522
  */