Skip to content

Commit 1484a4e

Browse files
Fix delete_user tool def (#1462)
1 parent 2b835cc commit 1484a4e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/core/lib/core/mcp/tools/delete_user.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
defmodule Core.MCP.Tools.DeleteUser do
22
@behaviour Core.MCP.Tool
3-
import Core.MCP.Tools.Utils
43
alias Core.Services.Accounts
54

65
def name(), do: "delete_user"
@@ -11,7 +10,7 @@ defmodule Core.MCP.Tools.DeleteUser do
1110
type: "object",
1211
required: ["email"],
1312
properties: %{
14-
account_id: %{
13+
email: %{
1514
type: "string",
1615
description: "The email of the user you want to delete"
1716
}

0 commit comments

Comments
 (0)