File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/tools/atlasLocal/read Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js" ;
22import { AtlasLocalToolBase } from "../atlasLocalTool.js" ;
3- import type { OperationType } from "../../tool.js" ;
3+ import type { OperationType , ToolArgs } from "../../tool.js" ;
44import { formatUntrustedData } from "../../tool.js" ;
55import type { Deployment } from "@mongodb-js/atlas-local" ;
66import type { Client } from "@mongodb-js/atlas-local" ;
@@ -11,7 +11,10 @@ export class ListDeploymentsTool extends AtlasLocalToolBase {
1111 static operationType : OperationType = "read" ;
1212 protected argsShape = { } ;
1313
14- protected async executeWithAtlasLocalClient ( client : Client ) : Promise < CallToolResult > {
14+ protected async executeWithAtlasLocalClient (
15+ _args : ToolArgs < typeof this . argsShape > ,
16+ { client } : { client : Client }
17+ ) : Promise < CallToolResult > {
1518 // List the deployments
1619 const deployments = await client . listDeployments ( ) ;
1720
You can’t perform that action at this time.
0 commit comments