diff --git a/src/tools/mongodb/metadata/collectionStorageSize.ts b/src/tools/mongodb/metadata/collectionStorageSize.ts index 91a1c51e..c38ccc07 100644 --- a/src/tools/mongodb/metadata/collectionStorageSize.ts +++ b/src/tools/mongodb/metadata/collectionStorageSize.ts @@ -42,6 +42,7 @@ export class CollectionStorageSizeTool extends MongoDBToolBase { type: "text", }, ], + isError: true, }; } diff --git a/src/tools/mongodb/read/collectionIndexes.ts b/src/tools/mongodb/read/collectionIndexes.ts index 81856191..84b8b1db 100644 --- a/src/tools/mongodb/read/collectionIndexes.ts +++ b/src/tools/mongodb/read/collectionIndexes.ts @@ -37,6 +37,7 @@ export class CollectionIndexesTool extends MongoDBToolBase { type: "text", }, ], + isError: true, }; } diff --git a/src/tools/mongodb/update/renameCollection.ts b/src/tools/mongodb/update/renameCollection.ts index be142e44..4992a322 100644 --- a/src/tools/mongodb/update/renameCollection.ts +++ b/src/tools/mongodb/update/renameCollection.ts @@ -48,6 +48,7 @@ export class RenameCollectionTool extends MongoDBToolBase { type: "text", }, ], + isError: true, }; case "NamespaceExists": return { @@ -57,6 +58,7 @@ export class RenameCollectionTool extends MongoDBToolBase { type: "text", }, ], + isError: true, }; } }