@contentful/mcp-tools 0.8.0 → 0.12.0

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
@@ -4399,6 +4399,27 @@ declare class ContentfulMcpTools {
4399
4399
  };
4400
4400
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4401
4401
  };
4402
+ semanticSearch: {
4403
+ title: string;
4404
+ description: string;
4405
+ inputParams: {
4406
+ spaceId: zod.ZodString;
4407
+ environmentId: zod.ZodString;
4408
+ } & {
4409
+ query: zod.ZodString;
4410
+ contentTypeIds: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
4411
+ };
4412
+ annotations: {
4413
+ readOnlyHint: boolean;
4414
+ openWorldHint: boolean;
4415
+ };
4416
+ tool: (params: {
4417
+ spaceId: string;
4418
+ environmentId: string;
4419
+ query: string;
4420
+ contentTypeIds?: string[] | undefined;
4421
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4422
+ };
4402
4423
  createEntry: {
4403
4424
  title: string;
4404
4425
  description: string;
@@ -4699,6 +4720,48 @@ declare class ContentfulMcpTools {
4699
4720
  entryId: string;
4700
4721
  }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4701
4722
  };
4723
+ resolveEntryReferences: {
4724
+ title: string;
4725
+ description: string;
4726
+ inputParams: {
4727
+ spaceId: zod.ZodString;
4728
+ environmentId: zod.ZodString;
4729
+ } & {
4730
+ entryId: zod.ZodString;
4731
+ include: zod.ZodDefault<zod.ZodOptional<zod.ZodNumber>>;
4732
+ };
4733
+ annotations: {
4734
+ readOnlyHint: boolean;
4735
+ openWorldHint: boolean;
4736
+ };
4737
+ tool: (params: {
4738
+ spaceId: string;
4739
+ environmentId: string;
4740
+ entryId: string;
4741
+ include?: number | undefined;
4742
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4743
+ };
4744
+ getEntrySnapshot: {
4745
+ title: string;
4746
+ description: string;
4747
+ inputParams: {
4748
+ spaceId: zod.ZodString;
4749
+ environmentId: zod.ZodString;
4750
+ } & {
4751
+ entryId: zod.ZodString;
4752
+ snapshotId: zod.ZodOptional<zod.ZodString>;
4753
+ };
4754
+ annotations: {
4755
+ readOnlyHint: boolean;
4756
+ openWorldHint: boolean;
4757
+ };
4758
+ tool: (params: {
4759
+ spaceId: string;
4760
+ environmentId: string;
4761
+ entryId: string;
4762
+ snapshotId?: string | undefined;
4763
+ }, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
4764
+ };
4702
4765
  updateEntry: {
4703
4766
  title: string;
4704
4767
  description: string;
@@ -4707,6 +4770,7 @@ declare class ContentfulMcpTools {
4707
4770
  environmentId: zod.ZodString;
4708
4771
  } & {
4709
4772
  entryId: zod.ZodString;
4773
+ version: zod.ZodNumber;
4710
4774
  fields: zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodObject<{
4711
4775
  nodeType: zod.ZodLiteral<_contentful_rich_text_types.BLOCKS.DOCUMENT>;
4712
4776
  data: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
@@ -4927,6 +4991,7 @@ declare class ContentfulMcpTools {
4927
4991
  openWorldHint: boolean;
4928
4992
  };
4929
4993
  tool: (params: {
4994
+ version: number;
4930
4995
  spaceId: string;
4931
4996
  environmentId: string;
4932
4997
  fields: Record<string, Record<string, string[] | {