Skip to content

Commit 39e877b

Browse files
committed
fix: remove unused arguments variable in HandleToolsCallAsync
The switch only has a default case (stub for future tools), so arguments was never read. Re-add when tool implementations are added. Resolves github-code-quality warning on PR #22.
1 parent 8bd7f91 commit 39e877b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Mcp/McpServer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ private async Task HandleToolsCallAsync(JsonRpcRequest request)
412412
}
413413

414414
var name = request.Params.Value.GetProperty("name").GetString();
415-
var arguments = request.Params.Value.GetProperty("arguments");
416415

417416
switch (name)
418417
{

0 commit comments

Comments
 (0)