Skip to content

Commit b245ba1

Browse files
committed
chore: args type
1 parent 92f1605 commit b245ba1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/tools/atlasLocal/read/listDeployments.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
22
import { AtlasLocalToolBase } from "../atlasLocalTool.js";
3-
import type { OperationType } from "../../tool.js";
3+
import type { OperationType, ToolArgs } from "../../tool.js";
44
import { formatUntrustedData } from "../../tool.js";
55
import type { Deployment } from "@mongodb-js/atlas-local";
66
import 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

0 commit comments

Comments
 (0)