Fix linter error.

This commit is contained in:
Christian Gunderman
2026-03-13 09:52:24 -07:00
parent eaefa83036
commit 813697541c

View File

@@ -81,8 +81,7 @@ export async function executeToolWithHooks(
const mcpContext = config ? extractMcpContext(invocation, config) : undefined;
const hookSystem = config?.getHookSystem();
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
const toolInput = (invocation.params || {}) as Record<string, unknown>;
const toolInput: Record<string, unknown> = { ...invocation.params };
// Execute the actual tool
let toolResult: ToolResult;